I have a problem with creating vendors invoice, only with one third-party vendors, before update is work without problems…
Actually i can select third-party, select dates, ref. number etc., but after clicking “Create Draft” i am on page where i can add all products what i want “Products Line”.
Here i have a problem, i have only to select “Free-text item, type” and only text without drop down menu where i can select products “Predefined products/services to purchase”.
I first time have that problem and only noticed with one supplier.
I sending image where is showing the problem…
I hope that somebody have a solution about that problem…
It looks like the page is only partly displayed, indicative of a php error when grabbing the list of predefined products. You should have a look at your php error log.
As v11.0.1 was just published, you could upgrade if not done already, and check whether you still have the problem.
Regards,
Marc
If you mean on error.log yes i check, and i not see any error with some new date… i have some for php from 2019…
I know that this is strange… i really don’t know what to say.
All products what i get from that vendor is setup good, i can add that product in my invoice…
I search and in sql database some differences between this vendor and other vendor, but i can’t find…
I find that draft in database, i change vendor from database with other, make refresh on page and page is loading without problem.
Well, I meant the error logfile from php. I don’t know your installation. I personally run on linux which nginx as a web-server and php-fpm as the php engine behind. The latter is the one I have to check when encountering such problems and what it says can be helpful to track the guilty one…
That’s a very good candidate indeed ! It looks like you have a product from that vendor with units defined and the system is calling a non existant function. If this is not critical for you, you could maybe remove the units from these products and avoid this error…
In all products i have units… i must have that informations…
I was set unit when i start with using dolibarr and that vendor is created from start, i have problem now…
Can you edit the file core/class/html.form.class.php and add the line
require_once DOL_DOCUMENT_ROOT.‘core/lib/product.lib.php’;
after line 2828 ?
This should allow php to find the missing measureUnitString() function.