Notice: Trying to get property 'id' of non-object in /home/geofarmasi/public_html/application/controllers/ProductController.php on line 36
Notice: Trying to get property 'id' of non-object in /home/geofarmasi/public_html/application/controllers/ProductController.php on line 37
Fatal error: Uncaught PDOException: SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "and"
LINE 1: ...ristics_accordion_data as d where d.product_id = and d.lang...
^ in /home/geofarmasi/public_html/application/core/Model.php:127
Stack trace:
#0 /home/geofarmasi/public_html/application/core/Model.php(127): PDOStatement->execute()
#1 /home/geofarmasi/public_html/application/models/Product.php(1233): application\core\Model->queryFirst('select * from t...')
#2 /home/geofarmasi/public_html/application/controllers/ProductController.php(37): application\models\Product->getProductCharacteristicsAccordionData(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 127