Notice: Undefined offset: 0 in /var/www/html/app/model/main/seo/detail_model.php on line 11

Warning: pg_query(): Query failed: ERROR: syntax error at or near "group" LINE 4: where a.img_id = group by a.img_id ^ in /var/www/html/app/model/model.php on line 103

Fatal error: Uncaught Error: Call to undefined method detail_model::() in /var/www/html/app/model/main/seo/detail_model.php:35 Stack trace: #0 /var/www/html/app/controller/main/seo_controller.php(13): detail_model->index('post') #1 /var/www/html/app/application.php(27): seo_controller->index(Array) #2 /var/www/html/index.php(162): application->__construct(Array) #3 {main} thrown in /var/www/html/app/model/main/seo/detail_model.php on line 35