Fatal error: Uncaught exception 'InvalidQueryException' with message 'Error executing query: 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 '-8,8' at line 9 at
SELECT
*
FROM
courses
WHERE
type = 2 AND
status = 1
ORDER BY display_date DESC
LIMIT -8,8
' in /home2/insti497/public_html/vendor/fishyfw/database/DbCommand.php:98
Stack trace:
#0 /home2/insti497/public_html/vendor/fishyfw/database/DbCommand.php(155): DbCommand::query('\n SE...')
#1 /home2/insti497/public_html/vendor/fishyfw/database/ActiveRecord.php(593): DbCommand::all('\n SE...')
#2 /home2/insti497/public_html/app/controllers/Cursos.php(59): ActiveRecord->find_by_sql('\n SE...')
#3 [internal function]: CursosController->index()
#4 /home2/insti497/public_html/vendor/fishyfw/libraries/Controller.php(148): call in /home2/insti497/public_html/vendor/fishyfw/database/DbCommand.php on line 98