Notice: Trying to get property 'id' of non-object in /home/geofarmasi/public_html/application/controllers/ProductController.php on line 33
Fatal error: Uncaught PDOException: SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "and"
LINE 8: where t.product_id = and t.is_active = 1 and l....
^ in /home/geofarmasi/public_html/application/core/Model.php:120
Stack trace:
#0 /home/geofarmasi/public_html/application/core/Model.php(120): PDOStatement->execute()
#1 /home/geofarmasi/public_html/application/models/Product.php(1200): application\core\Model->query('\r\n s...')
#2 /home/geofarmasi/public_html/application/controllers/ProductController.php(33): application\models\Product->getProductCharacteristics(NULL, 'ka')
#3 /home/geofarmasi/public_html/application/core/Router.php(154): application\controllers\ProductController->indexAction()
#4 /home/geofarmasi/public_html/index.php(47): application\core\Router->run()
#5 {main}
thrown in /home/geofarmasi/public_html/application/core/Model.php on line 120