A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/rscahya/public_html/zetsys/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/rscahya/public_html/zetapp/models/post/Posts_m.php
Line: 108
Function: get
File: /home/rscahya/public_html/zetapp/libraries/post/Post_lib.php
Line: 271
Function: read_join
File: /home/rscahya/public_html/tmplts/rsck-v2/post/view.php
Line: 162
Function: next_post
File: /home/rscahya/public_html/zetapp/controllers/Post.php
Line: 176
Function: view
File: /home/rscahya/public_html/index.php
Line: 315
Function: require_once
Database Error
A Database Error Occurred
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 PL.lang_id="id" and P.init="Publish"
ORDER BY `P`.`created_at`
LIMIT 1' at line 4
SELECT `P`.`id`, `P`.`created_at`, `P`.`created_by`, `P`.`published_at`, `P`.`lastmodified_at`, `P`.`slug`, `P`.`view_as`, `P`.`img_preview`, `P`.`meta_data`, `P`.`viewed`, `PL`.`id` as `pl_id`, `PL`.`content`, `PL`.`title`, `PL`.`intro`, `PL`.`lang_id`
FROM `posts` `P`
JOIN `posts_lang` `PL` ON `PL`.`post_id`=`P`.`id`
WHERE P.created_at > (select created_at from posts where id=) and PL.lang_id="id" and P.init="Publish"
ORDER BY `P`.`created_at`
LIMIT 1
Filename: models/post/Posts_m.php
Line Number: 108