Severity: Notice
Message: Trying to get property 'category_id' of non-object
Filename: controllers/Category.php
Line Number: 23
Backtrace:
File: /home4/joelle/mhhar.com/application/controllers/Category.php
Line: 23
Function: _error_handler
File: /home4/joelle/mhhar.com/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home4/joelle/mhhar.com/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home4/joelle/mhhar.com/application/models/Advertisement_model.php
Line: 141
Function: get
File: /home4/joelle/mhhar.com/application/controllers/Category.php
Line: 23
Function: getCategoryAdvertisements
File: /home4/joelle/mhhar.com/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 `adv_active` = 1 ORDER BY `adv_id` DESC' at line 3
SELECT * FROM `advertise` WHERE `category` = AND `adv_active` = 1 ORDER BY `adv_id` DESC
Filename: models/Advertisement_model.php
Line Number: 141