A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: front/Front.php

Line Number: 1743

Backtrace:

File: /mnt/sfst7/application/controllers/front/Front.php
Line: 1743
Function: _error_handler

File: /mnt/sfst7/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /mnt/sfst7/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /mnt/sfst7/application/models/front/Front_model.php
Line: 94
Function: get

File: /mnt/sfst7/application/controllers/front/Front.php
Line: 1748
Function: get_select_limited_sort

File: /mnt/sfst7/index.php
Line: 318
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 MySQL server version for the right syntax to use near 'ORDER BY `date` DESC LIMIT 4' at line 7

SELECT * FROM `7update` WHERE `draft` =0 AND `trash` =0 AND `slug` != 'cabang-olahraga-baru-di-sea-games-2019-part-2' AND `id` < ORDER BY `date` DESC LIMIT 4

Filename: models/front/Front_model.php

Line Number: 94