A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Paket.php

Line Number: 61

Backtrace:

File: /home/wisatasu/public_html/app/application/controllers/Paket.php
Line: 61
Function: _error_handler

File: /home/wisatasu/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 578

Backtrace:

File: /home/wisatasu/public_html/app/application/models/Paket_Model.php
Line: 97
Function: get

File: /home/wisatasu/public_html/app/application/controllers/Paket.php
Line: 61
Function: get_paket_prev

File: /home/wisatasu/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 'LIMIT 1' at line 4

SELECT * FROM `tbl_paket` WHERE `id_paket` < LIMIT 1

Filename: models/Paket_Model.php

Line Number: 97