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 'AN) ORDER BY products_name, products_quantity >= 4 DESC, products_quantity > 0 D' at line 67 in /var/domains/test-test.bazaarofmagic.eu/application/php/models/database.php:176 Stack trace: #0 /var/domains/test-test.bazaarofmagic.eu/application/php/models/database.php(176): PDO->prepare('SELECT SQL_CALC...') #1 /var/domains/test-test.bazaarofmagic.eu/application/php/models/search.php(56): Models\Database->query('SELECT SQL_CALC...', Array) #2 /var/domains/test-test.bazaarofmagic.eu/application/php/models/card.php(227): Models\Search->go() #3 /var/domains/test-test.bazaarofmagic.eu/application/php/controllers/search.php(285): Models\Card->recommendations() #4 /var/domains/test-test.bazaarofmagic.eu/application/lib/bcosca/fatfree-core/base.php(1997): Controllers\Search->showSimilar(Object(Base), Array, '\\Controllers\\Se...') #5 /var/domains/test-test.bazaarofmagic.eu/application/lib/bcosca/fatfree-core/base.php(1796): Base->call(Array, Array, Array) #6 /var/domains/test-test.bazaarofmagic.eu/application/php/bootstrap.php(253): Base->run() #7 /var/domains/test-test.bazaarofmagic.eu/application/public/index.php(16): require_once('/var/domains/te...') #8 {main}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 'AN) ORDER BY products_name, products_quantity >= 4 DESC, products_quantity > 0 D' at line 67 in /var/domains/test-test.bazaarofmagic.eu/application/php/models/database.php:176 Stack trace: #0 /var/domains/test-test.bazaarofmagic.eu/application/php/models/database.php(176): PDO->prepare('SELECT SQL_CALC...') #1 /var/domains/test-test.bazaarofmagic.eu/application/php/models/search.php(56): Models\Database->query('SELECT SQL_CALC...', Array) #2 /var/domains/test-test.bazaarofmagic.eu/application/php/models/card.php(247): Models\Search->go() #3 /var/domains/test-test.bazaarofmagic.eu/application/php/controllers/search.php(285): Models\Card->recommendations() #4 /var/domains/test-test.bazaarofmagic.eu/application/lib/bcosca/fatfree-core/base.php(1997): Controllers\Search->showSimilar(Object(Base), Array, '\\Controllers\\Se...') #5 /var/domains/test-test.bazaarofmagic.eu/application/lib/bcosca/fatfree-core/base.php(1796): Base->call(Array, Array, Array) #6 /var/domains/test-test.bazaarofmagic.eu/application/php/bootstrap.php(253): Base->run() #7 /var/domains/test-test.bazaarofmagic.eu/application/public/index.php(16): require_once('/var/domains/te...') #8 {main}
Om de ervaring op onze website zo magisch mogelijk te maken voor je, gebruiken we cookies. Deze worden ingezet voor digitale veiligheid en om je producten te tonen die aansluiten bij jouw interesses.
Customer 1638017156 |
1.6614 seconds for 29 queries (307.62kb) |
1.7773 seconds to render |