Dolibarr version 14.03
Platform Ubuntu Server 18.04 LTS
Webserver Apache 2
I have developed a few custom modules and they do what is intended. The problem comes with the left menu search box. I haven’t made any changes to it but I get the following:
133
Notice*: Undefined property: stdClass::$supplier_invoice in /var/www/demo/htdocs/core/ajax/selectsearchbox.php on line *133
Notice*: Trying to get property ‘lire’ of non-object in /var/www/demo/htdocs/core/ajax/selectsearchbox.php on line *133
Notice*: Undefined property: stdClass::$banque in /var/www/demo/htdocs/core/ajax/selectsearchbox.php on line *143
Notice*: Trying to get property ‘lire’ of non-object in /var/www/demo/htdocs/core/ajax/selectsearchbox.php on line *143
The errors correspond to modules that a user has not been given access to. Granting access eliminates the errors but is not an ideal solution.
Any suggestions would be greatly appreciated.