Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Index.php
Line Number: 96
Backtrace:
File: /var/www/html/application/controllers/Index.php
Line: 96
Function: _error_handler
File: /var/www/html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Index.php
Line Number: 97
Backtrace:
File: /var/www/html/application/controllers/Index.php
Line: 97
Function: _error_handler
File: /var/www/html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Index.php
Line Number: 98
Backtrace:
File: /var/www/html/application/controllers/Index.php
Line: 98
Function: _error_handler
File: /var/www/html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Index.php
Line Number: 99
Backtrace:
File: /var/www/html/application/controllers/Index.php
Line: 99
Function: _error_handler
File: /var/www/html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Index.php
Line Number: 100
Backtrace:
File: /var/www/html/application/controllers/Index.php
Line: 100
Function: _error_handler
File: /var/www/html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Index.php
Line Number: 101
Backtrace:
File: /var/www/html/application/controllers/Index.php
Line: 101
Function: _error_handler
File: /var/www/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.final_releasestatus=1 AND a.featured_content=0 AND a.schedule_date<='2024-' at line 1
SELECT a.id, a.cover_img, a.title, a.seo_keyword, a.description, a.schedule_date, LOWER(a.permalink) AS permalink, LOWER(c.code) AS categorycode, c.title AS categoryname, LOWER(sc.subcat_code) AS subcategorycode, sc.name AS subcategoryname, ns.name AS newsourcename FROM contenttrans AS a LEFT JOIN categorymst AS c ON c.id= a.category_id LEFT JOIN subcategorymst AS sc ON a.subcategory_id=sc.id LEFT JOIN newsource AS ns ON a.news_source=ns.id WHERE sc.id= AND a.final_releasestatus=1 AND a.featured_content=0 AND a.schedule_date<='2024-03-19 06:34:58' ORDER BY a.schedule_date DESC
Filename: models/Common_model.php
Line Number: 134