Severity: Notice
Message: Undefined variable: id
Filename: controllers/Blog_controller.php
Line Number: 740
Backtrace:
File: /home/newprojectstrack/public_html/application/controllers/Blog_controller.php
Line: 740
Function: _error_handler
File: /home/newprojectstrack/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/newprojectstrack/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/newprojectstrack/public_html/application/models/Blog_model.php
Line: 282
Function: get
File: /home/newprojectstrack/public_html/application/controllers/Blog_controller.php
Line: 740
Function: previous_model
File: /home/newprojectstrack/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 'ORDER BY `id` DESC LIMIT 1' at line 4
SELECT * FROM `blog` WHERE `id` < ORDER BY `id` DESC LIMIT 1
Filename: models/Blog_model.php
Line Number: 282