Severity: Warning
Message: Attempt to read property "id" on null
Filename: controllers/Front.php
Line Number: 114
Backtrace:
File: /home/akrammillstoreco/public_html/application/controllers/Front.php
Line: 114
Function: _error_handler
File: /home/akrammillstoreco/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/akrammillstoreco/public_html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 571
Backtrace:
File: /home/akrammillstoreco/public_html/application/controllers/Front.php
Line: 118
Function: query
File: /home/akrammillstoreco/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 'and status=1' at line 1
select * from products where cat_id= and status=1
Filename: controllers/Front.php
Line Number: 118