Severity: Notice
Message: Undefined offset: 0
Filename: controllers/Shop.php
Line Number: 214
Backtrace:
File: /home/freddiet/public_html/application/controllers/Shop.php
Line: 214
Function: _error_handler
File: /home/freddiet/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property 'id' of non-object
Filename: controllers/Shop.php
Line Number: 214
Backtrace:
File: /home/freddiet/public_html/application/controllers/Shop.php
Line: 214
Function: _error_handler
File: /home/freddiet/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/freddiet/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/freddiet/public_html/application/models/Freddie_Model.php
Line: 33
Function: get
File: /home/freddiet/public_html/application/controllers/Shop.php
Line: 217
Function: find_by
File: /home/freddiet/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 `deleted` =0 and `status` <> 'outofstock' ORDER BY `name` ASC LIMIT 20' at line 3
SELECT * FROM `accessories` WHERE `id` in (select accessories_id from product_accessories where product_id = ) and `deleted` =0 and `status` <> 'outofstock' ORDER BY `name` ASC LIMIT 20
Filename: models/Freddie_Model.php
Line Number: 33