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 'AND
pay_media.id_life_user = ORDER BY pay_media.expi...' at line 5 in /var/www/vhosts/lifeplay.ci/httpdocs/views/mymedia.php:10
Stack trace:
#0 /var/www/vhosts/lifeplay.ci/httpdocs/views/mymedia.php(10): PDO->query()
#1 /var/www/vhosts/lifeplay.ci/httpdocs/include/app.ctrl.php(56): include('/var/www/vhosts...')
#2 /var/www/vhosts/lifeplay.ci/httpdocs/include/app.ctrl.php(94): App->render()
#3 /var/www/vhosts/lifeplay.ci/httpdocs/index.php(1): App->start()
#4 {main}
thrown in /var/www/vhosts/lifeplay.ci/httpdocs/views/mymedia.php on line 10