A PHP Error was encountered 1

Severity: Warning

Message: A non-numeric value encountered

Filename: models/SCMS_content_model.php

Line Number: 80

Backtrace:

File: /opt/lampp/htdocs/scms/application/models/SCMS_content_model.php
Line: 80
Function: _error_handler

File: /opt/lampp/htdocs/scms/application/controllers/SCMS_content.php
Line: 72
Function: retrieve_content_record_set

File: /opt/lampp/htdocs/scms/application/core/SCMS_Controller.php
Line: 62
Function: on_section

File: /opt/lampp/htdocs/index.php
Line: 364
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 '-10, 10' at line 1

SELECT ContentID, ContentSectionID, Title, CreateBy, CreateOn, ThumbnailImageFileName, Slug, Pin FROM view_section_and_content WHERE ParentSectionID = 10 AND ContentID IS NOT NULL AND LanguageID = 1 AND Publish = 1 ORDER BY Pin DESC, CreateOn DESC LIMIT -10, 10

Filename: /opt/lampp/htdocs/scms/application/core/SCMS_Model.php

Line Number: 61