Warning: SQLite3::query(): Unable to prepare statement: 1, near "s": syntax error in /var/www/html/pophay/application/helpers/category.php on line 32

Fatal error: Uncaught Error: Call to a member function fetchArray() on boolean in /var/www/html/pophay/application/helpers/category.php:33 Stack trace: #0 /var/www/html/pophay/application/actions/site/category.php(3): category(Array) #1 /var/www/html/pophay/core/helpers.php(353): require('/var/www/html/p...') #2 /var/www/html/pophay/core/functions.php(261): load_file('/var/www/html/p...') #3 /var/www/html/pophay/core/start.php(113): load_action() #4 /var/www/html/pophay/index.php(7): require_once('/var/www/html/p...') #5 {main} thrown in /var/www/html/pophay/application/helpers/category.php on line 33