CI

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 '-5' at line 1 in /www/webvol34/vb/vuoldj5fz724kmo/farmkom.rs/public_html/system/libraries/Database.php:57 Stack trace: #0 /www/webvol34/vb/vuoldj5fz724kmo/farmkom.rs/public_html/system/libraries/Database.php(57): PDOStatement->execute() #1 /www/webvol34/vb/vuoldj5fz724kmo/farmkom.rs/public_html/system/libraries/Database.php(61): Database->execute() #2 /www/webvol34/vb/vuoldj5fz724kmo/farmkom.rs/public_html/system/libraries/Crud.php(80): Database->resultset() #3 /www/webvol34/vb/vuoldj5fz724kmo/farmkom.rs/public_html/arhiva-vesti.php(30): Crud->getAllWhereReverse('slider_n', 'active', '1', 5, -5, 'date_created') #4 {main} thrown in /www/webvol34/vb/vuoldj5fz724kmo/farmkom.rs/public_html/system/libraries/Database.php on line 57