Notice: Trying to get property of non-object in /srv/data/web/vhosts/www.abyss-garden.com/htdocs/App/Controllers/AbyssContentActivity.php on line 45

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 MySQL server version for the right syntax to use near 'AND display = '1' ORDER BY rank ASC' at line 14 in /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Database/MysqlDatabase.php:156 Stack trace: #0 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Database/MysqlDatabase.php(156): PDOStatement->execute(Array) #1 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Database/Mysql.php(142): Core\Database\MysqlDatabase->prepare('SELECT\n ...', Array, 'Core\\Entity', false) #2 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Models/Abyss/Product.php(68): Core\Database\Mysql->query('SELECT\n ...', Array, false) #3 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/App/Models/Abyss/ProductCoaching.php(14): Core\Models\Abyss\Product->get(Array) #4 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/App/Controllers/AbyssContentActivit in /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Database/MysqlDatabase.php on line 156