Hello,
I’ve been using Dolibarr for several years and updating it without issues from vers 3.4.2 to vers 10.0.3 (several updates since I installed it, when these version were released).
Now I’m stuck in this version because everytime I try to adpdate to 10.0.7, or above the update works fine (only two minor issues with to tables I can solve via phpmyadmin), but when log into Dolibarr everything works fine except two screens; proposals (Presupuestos, I have the spanish version) and orders (Pedidos). The screen is totally blank. All the other parts and screens of the progams work fine.
This is a capture of how the screen loooks like.
Finally I’ve found the solution. As is described in the error.log file there is an error en the line 257 of the file /usr/share/dolibarr/htdocs/core/class/hookmanager.class.php.
There were an operand +=, I’ve replaced this operand by == and now dolibarr works fine!
Sorry but no it is not supposed to work like that.
The line 257 must be like that :
$resaction += $actionclassinstance->$method($parameters, $object, $action, $this); // $object and $action can be changed by method ($object->id during creation for example or $action to go back to other action for example)
Remember if you are on line 257, that’s means the Hook type “addreplace” should return an int
If it fails, means that a hook on your system doesn’t return an int.
So You have a “bad” external module installed.
Hi,
Thanks again. Yes, you were right, it was an old module (Doliconta) the root cause. I’ve deactivated it and restored the line 257 and everything works fine.
Regards.