Severity: Notice
Message: Trying to get property 'id' of non-object
Filename: controllers/Searchresult.php
Line Number: 22
Backtrace:
File: /home/jobincs/public_html/application/controllers/Searchresult.php
Line: 22
Function: _error_handler
File: /home/jobincs/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property 'name' of non-object
Filename: controllers/Searchresult.php
Line Number: 23
Backtrace:
File: /home/jobincs/public_html/application/controllers/Searchresult.php
Line: 23
Function: _error_handler
File: /home/jobincs/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/jobincs/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/jobincs/public_html/application/models/Searchresult_model.php
Line: 45
Function: query
File: /home/jobincs/public_html/application/controllers/Searchresult.php
Line: 26
Function: getcat_datacnt
File: /home/jobincs/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 a.id=b.website_id AND a.website_status='publish'' at line 2
SELECT count(a.id) as cnt FROM websites_reel a,website_category b WHERE b.category_id= AND a.id=b.website_id AND a.website_status='publish'
Filename: models/Searchresult_model.php
Line Number: 45