I’m using Dolibarr 3.7 and get a warning after every confirming of a supplier order.
[b]Warning: Creating default object from empty value in /…/htdocs/core/class/commonobject.class.php on line 3295
Warning: Cannot modify header information - headers already sent by (output started at /…/htdocs/core/class/commonobject.class.php:3295) in /…/htdocs/fourn/commande/card.php on line 618[/b]
However the order is confirmed after returning into Dolibarr. Does anyone have a fix for that warning?
Downgrading is not really an option for me :-/
Everything seems to work fine with ignoring line 3295 in /htdocs/core/class/commonobject.class.php so far.
Warning: Creating default object from empty value in /[…]/core/class/commonobject.class.php on line 3498 Warning: Cannot modify header information - headers already sent by (output started at /[…]/core/class/commonobject.class.php:3498) in /[…]/fourn/commande/card.php on line 713
yes and no I updated to every stable version since 3.6 and am currently using 3.8.3 but the PHP-Warning is still chasing me. So the only solution is to comment that line out. Just put an hash <#> at the beginning: