A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Menu.php

Line Number: 137

Backtrace:

File: /home/luminary/public_html/application/controllers/Menu.php
Line: 137
Function: _error_handler

File: /home/luminary/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/luminary/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/luminary/public_html/application/models/Main_model.php
Line: 131
Function: get

File: /home/luminary/public_html/application/controllers/Menu.php
Line: 138
Function: get_work_data

File: /home/luminary/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 '-9, 6' at line 4

SELECT * FROM `our_work` ORDER BY `id` DESC LIMIT -9, 6

Filename: models/Main_model.php

Line Number: 131