A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Post.php

Line Number: 119

Backtrace:

File: /home/hkreal/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php
Line: 106
Function: _error_handler

File: /home/hkreal/public_html/frontend/modules/post/controllers/Post.php
Line: 119
Function: mutingErrorHandler

File: /home/hkreal/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Post.php

Line Number: 122

Backtrace:

File: /home/hkreal/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php
Line: 106
Function: _error_handler

File: /home/hkreal/public_html/frontend/modules/post/controllers/Post.php
Line: 122
Function: mutingErrorHandler

File: /home/hkreal/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/hkreal/public_html/vendor/codeigniter/framework/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/hkreal/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php
Line: 106
Function: _error_handler

File: /home/hkreal/public_html/frontend/modules/post/models/Post_m.php
Line: 153
Function: get

File: /home/hkreal/public_html/frontend/modules/post/controllers/Post.php
Line: 122
Function: get_prev

File: /home/hkreal/public_html/index.php
Line: 337
Function: require_once

Database Error

Sebuah Kesalahan Basis Data Terjadi

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 `tbl_post_translation`.`lang_id` = 'id' AND `tbl_post`.`soft_delete` = 0 AND' at line 5

SELECT `tbl_post_translation`.*, `tbl_post`.`slug` as `slug_ori`, `tbl_post`.`images` FROM `tbl_post_translation` LEFT JOIN `tbl_post` ON `tbl_post`.`id` = `tbl_post_translation`.`post_id` WHERE `tbl_post_translation`.`post_id` < AND `tbl_post_translation`.`lang_id` = 'id' AND `tbl_post`.`soft_delete` = 0 AND `tbl_post`.`status` = 1 ORDER BY `post_id` DESC LIMIT 1

Filename: modules/post/models/Post_m.php

Line Number: 153