Notice: Trying to get property 'id' of non-object in /var/www/vhosts/gruppomegawatt.it/gruppomegawatt.it/app/controllers/brands_controller.php on line 43

Notice: Trying to get property 'name' of non-object in /var/www/vhosts/gruppomegawatt.it/gruppomegawatt.it/app/controllers/brands_controller.php on line 46

Notice: Trying to get property 'name' of non-object in /var/www/vhosts/gruppomegawatt.it/gruppomegawatt.it/app/controllers/brands_controller.php on line 61
Database Error
Message:MySQL Query fail: SELECT category_id FROM brands_category WHERE brand_id =
MySQL Error:MySQL Query fail: SELECT category_id FROM brands_category WHERE brand_id = : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Date:Friday, May 27, 2022 at 6:09:08 AM
Script:/fornitori/automazione
Backtrace:#0 Database->oops(MySQL Query fail: SELECT category_id FROM brands_category WHERE brand_id = ) called at [/var/www/vhosts/gruppomegawatt.it/gruppomegawatt.it/framework/database.php:177] #1 Database->query(SELECT category_id FROM brands_category WHERE brand_id = ) called at [/var/www/vhosts/gruppomegawatt.it/gruppomegawatt.it/framework/database.php:240] #2 Database->fetch_array(SELECT category_id FROM brands_category WHERE brand_id = ) called at [/var/www/vhosts/gruppomegawatt.it/gruppomegawatt.it/app/controllers/brands_controller.php:63] #3 BrandsController->show() called at [/var/www/vhosts/gruppomegawatt.it/gruppomegawatt.it/framework/base_controller.php:64] #4 BaseController->action(show) called at [/var/www/vhosts/gruppomegawatt.it/gruppomegawatt.it/index.php:32]