Severity: Notice
Message: Undefined property: stdClass::$category_id
Filename: controllers/Products.php
Line Number: 71
Backtrace:
File: /home/erenler/public_html/application/controllers/Products.php
Line: 71
Function: _error_handler
File: /home/erenler/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property 'id' of non-object
Filename: controllers/Products.php
Line Number: 72
Backtrace:
File: /home/erenler/public_html/application/controllers/Products.php
Line: 72
Function: _error_handler
File: /home/erenler/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/erenler/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/erenler/public_html/application/models/Products_model.php
Line: 20
Function: get
File: /home/erenler/public_html/application/controllers/Products.php
Line: 72
Function: get_all
File: /home/erenler/public_html/index.php
Line: 315
Function: require_once
Error Number: 1054
Unknown column 'category_id' in 'where clause'
SELECT * FROM `products` WHERE `category_id` IS NULL AND `isActive` = 1 ORDER BY `id` ASC
Filename: models/Products_model.php
Line Number: 20