Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Welcome.php
Line Number: 486
Backtrace:
File: /homepages/46/d816416037/htdocs/driverinrome/application/controllers/Welcome.php
Line: 486
Function: _error_handler
File: /homepages/46/d816416037/htdocs/driverinrome/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Welcome.php
Line Number: 487
Backtrace:
File: /homepages/46/d816416037/htdocs/driverinrome/application/controllers/Welcome.php
Line: 487
Function: _error_handler
File: /homepages/46/d816416037/htdocs/driverinrome/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Welcome.php
Line Number: 491
Backtrace:
File: /homepages/46/d816416037/htdocs/driverinrome/application/controllers/Welcome.php
Line: 491
Function: _error_handler
File: /homepages/46/d816416037/htdocs/driverinrome/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /homepages/46/d816416037/htdocs/driverinrome/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /homepages/46/d816416037/htdocs/driverinrome/application/models/frontend/Welcome_model.php
Line: 527
Function: get
File: /homepages/46/d816416037/htdocs/driverinrome/application/controllers/Welcome.php
Line: 492
Function: get_related_blogs_with_categories
File: /homepages/46/d816416037/htdocs/driverinrome/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 ' tbl_blogs.category_ids ) AND `tbl_blogs`.`is_draft` = 0 GROUP BY `tbl_blogs`.`i' at line 4
SELECT `tbl_blogs`.*, `tbl_blogs`.`id` as `blog_id`, GROUP_CONCAT(tbl_blog_categories.slug ORDER BY tbl_blog_categories.id SEPARATOR ", ") as "cat_slug", GROUP_CONCAT(tbl_blog_categories.name ORDER BY tbl_blog_categories.id SEPARATOR ", ") as "categories" FROM `tbl_blogs` JOIN `tbl_blog_categories` ON `tbl_blog_categories`.`id` = SUBSTRING_INDEX(SUBSTRING_INDEX(tbl_blogs.category_ids, ",", FIND_IN_SET(tbl_blog_categories.id, tbl_blogs.category_ids)), ",", -1) WHERE FIND_IN_SET(, tbl_blogs.category_ids ) AND `tbl_blogs`.`is_draft` = 0 GROUP BY `tbl_blogs`.`id` ORDER BY `tbl_blogs`.`id` DESC LIMIT 3
Filename: models/frontend/Welcome_model.php
Line Number: 527