Severity: Warning
Message: Attempt to read property "rep_title" on null
Filename: controllers/Reports_controller.php
Line Number: 194
Backtrace:
File: /home/enrmarket/public_html/application/controllers/Reports_controller.php
Line: 194
Function: _error_handler
File: /home/enrmarket/public_html/index.php
Line: 318
Function: require_once
Severity: Warning
Message: Attempt to read property "rep_id" on null
Filename: controllers/Reports_controller.php
Line Number: 194
Backtrace:
File: /home/enrmarket/public_html/application/controllers/Reports_controller.php
Line: 194
Function: _error_handler
File: /home/enrmarket/public_html/index.php
Line: 318
Function: require_once
Severity: Warning
Message: Attempt to read property "publisher_id" on null
Filename: controllers/Reports_controller.php
Line Number: 194
Backtrace:
File: /home/enrmarket/public_html/application/controllers/Reports_controller.php
Line: 194
Function: _error_handler
File: /home/enrmarket/public_html/index.php
Line: 318
Function: require_once
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND `rep_id` < 100000 AND `publisher_id` IS NULL AND `rep_title` LIKE '%%' E...' at line 6
SELECT `rep_id`, `rep_url`, `rep_descrip`, `rep_sub_cat_1_id`, `rep_title`, `promote_grs_date`, `rep_date`, `sc1_url`, `sc1_id`, `sc1_name`, `last_modified_at` FROM `24_report` JOIN `24_sub_cat_1` ON `24_sub_cat_1`.`sc1_id` = `report`.`rep_sub_cat_1_id` WHERE `rep_status` = 'Y' AND `rep_id` > AND `rep_id` < 100000 AND `publisher_id` IS NULL AND `rep_title` LIKE '%%' ESCAPE '!'
Filename: models/Reports_model.php
Line Number: 174