Fatal error: Uncaught mysqli_sql_exception: 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 'AND `status` = 'active'))
ORDER BY engagement_score DESC, `time` DESC...' at line 7 in /home/paksurf/trendter.com/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php:1978
Stack trace:
#0 /home/paksurf/trendter.com/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php(1978): mysqli->prepare('\n SELECT...')
#1 /home/paksurf/trendter.com/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php(559): MysqliDb->_prepareQuery()
#2 /home/paksurf/trendter.com/core/apps/explore/app_ctrl.php(122): MysqliDb->rawQuery('\n SELECT...')
#3 /home/paksurf/trendter.com/apps/native/http/explore/content.php(50): cl_explore_posts('Santa', 0, 30)
#4 /home/paksurf/trendter.com/index.php(41): include_once('/home/paksurf/t...')
#5 {main}
thrown in /home/paksurf/trendter.com/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php on line 1978