Severity: Warning
Message: Attempt to read property "id" on null
Filename: controllers/Front.php
Line Number: 247
Backtrace:
File: /home1/pb9645hj/hathazari.com/application/controllers/Front.php
Line: 247
Function: _error_handler
File: /home1/pb9645hj/hathazari.com/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home1/pb9645hj/hathazari.com/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 571
Backtrace:
File: /home1/pb9645hj/hathazari.com/application/controllers/Front.php
Line: 250
Function: query
File: /home1/pb9645hj/hathazari.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 a.book_id=b.id' at line 1
SELECT b.* FROM book_publisher a, books b WHERE a.publisher_id= AND a.book_id=b.id
Filename: controllers/Front.php
Line Number: 250