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 'WHERE wz_shop_carts.cart_status = 'PENDING' AND wz_shop_carts.cart_id = 'd487...' at line 1 in /home/shop/public_html/src/Core/DatabaseQueryBuilder.php:302
Stack trace:
#0 /home/shop/public_html/src/Core/DatabaseQueryBuilder.php(302): PDOStatement->execute()
#1 /home/shop/public_html/src/Plugins/Shop/Model/ShopCartModel.php(243): Web\PublicHtml\Core\DatabaseQueryBuilder->get()
#2 /home/shop/public_html/src/Plugins/Shop/Service/ShopCartService.php(395): Plugins\Shop\Model\ShopCartModel->getCartItems()
#3 /home/shop/public_html/src/Plugins/Shop/Controller/CartController.php(83): Plugins\Shop\Service\ShopCartService->getCartList()
#4 /home/shop/public_html/src/Helper/RouteHelper.php(92): Plugins\Shop\Controller\CartController->list()
#5 /home/shop/public_html/src/Helper/RouteHelper.php(47): Web\PublicHtml\Helper\RouteHelper->executeControllerMethod()
#6 /home/shop/public_html/public/index.php(76): Web\PublicHtml\Helper\RouteHelper->handleWebRoute()
#7 {main}
thrown in /home/shop/public_html/src/Core/DatabaseQueryBuilder.php on line 302