Notice: Undefined offset: 2 in /home/marathikamal/public_html/controller/Artist.php on line 3

Notice: Undefined offset: 1 in /home/marathikamal/public_html/controller/Artist.php on line 4

Notice: Trying to access array offset on value of type null in /home/marathikamal/public_html/controller/Artist.php on line 43

Notice: Trying to access array offset on value of type null in /home/marathikamal/public_html/controller/Artist.php on line 44

Notice: Trying to access array offset on value of type null in /home/marathikamal/public_html/controller/Artist.php on line 45

Fatal error: Uncaught Exception: 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 '-12, 12' at line 1 query: SELECT SQL_CALC_FOUND_ROWS file.*,category.name as category_name,category.folder, category.thumb as category_thumb FROM file INNER JOIN category on category.id=file.cid WHERE file.artist LIKE ? AND file.status = ? ORDER BY file.id DESC LIMIT -12, 12 in /home/marathikamal/public_html/vendor/thingengineer/mysqli-database-class/MysqliDb.php:2013 Stack trace: #0 /home/marathikamal/public_html/vendor/thingengineer/mysqli-database-class/MysqliDb.php(1601): MysqliDb->_prepareQuery() #1 /home/marathikamal/public_html/vendor/thingengineer/mysqli-database-class/MysqliDb.php(751): MysqliDb->_buildQuery(Array) #2 /home/marathikamal/public_html/vendor/thingengineer/mysqli-database-class/MysqliDb.php(2410): MysqliDb->get('file', Array, 'file.*,category...') #3 /home/marathikamal/public_html/controller/Artist.php(57): MysqliDb->paginate('file in /home/marathikamal/public_html/vendor/thingengineer/mysqli-database-class/MysqliDb.php on line 2013