Notice: Trying to get property 'id_category' of non-object in /home/clients/78aff48e7281bc4f7a31ef83833d1051/sites/ on line 44

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 display = '1' ORDER BY rank ASC' at line 14 in /home/clients/78aff48e7281bc4f7a31ef83833d1051/sites/ Stack trace: #0 /home/clients/78aff48e7281bc4f7a31ef83833d1051/sites/ PDOStatement->execute(Array) #1 /home/clients/78aff48e7281bc4f7a31ef83833d1051/sites/ Core\Database\MysqlDatabase->prepare('SELECT\n ...', Array, 'Core\\Entity', false) #2 /home/clients/78aff48e7281bc4f7a31ef83833d1051/sites/ Core\Database\Mysql->query('SELECT\n ...', Array, false) #3 /home/clients/78aff48e7281bc4f7a31ef83833d1051/sites/ Core\Models\Abyss\Pr in /home/clients/78aff48e7281bc4f7a31ef83833d1051/sites/ on line 156