Severity: Warning
Message: A non-numeric value encountered
Filename: controllers/Shop.php
Line Number: 49
Backtrace:
File: /home/ticketon/public_html/application/controllers/Shop.php
Line: 49
Function: _error_handler
File: /home/ticketon/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/ticketon/public_html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 565
Backtrace:
File: /home/ticketon/public_html/application/models/Product_model.php
Line: 317
Function: get_where
File: /home/ticketon/public_html/application/controllers/Shop.php
Line: 51
Function: getLimitProducts
File: /home/ticketon/public_html/index.php
Line: 315
Function: require_once
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-5, 6' at line 6
SELECT * FROM `product_table` `pt` JOIN `product_images` `pi` ON `pi`.`product_id` = `pt`.`product_id` WHERE `pt`.`active_flag` = 0 ORDER BY `pi`.`product_id` DESC LIMIT -5, 6
Filename: models/Product_model.php
Line Number: 317