| ( ! ) Fatal error: Uncaught mysqli_sql_exception: 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 p.status = '1' AND p.disable = '0' AND p2b.product_id IN(49,58,61,75,...' at line 3 in /var/www/site-dev/system/library/db/mysqli.php on line 18 |
| ( ! ) mysqli_sql_exception: 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 p.status = '1' AND p.disable = '0' AND p2b.product_id IN(49,58,61,75,...' at line 3 in /var/www/site-dev/system/library/db/mysqli.php on line 18 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 359432 | {main}( ) | .../index.php:0 |
| 2 | 0.0003 | 371576 | start( $application_config = 'catalog' ) | .../index.php:11 |
| 3 | 0.0003 | 372984 | require_once( '/var/www/site-dev/system/framework.php ) | .../startup.php:105 |
| 4 | 0.0016 | 467048 | Front->dispatch( $action = class Action { private $id = 'startup/router'; private $route = 'startup/router'; private $method = 'index' }, $error = class Action { private $id = 'error/not_found'; private $route = 'error/not_found'; private $method = 'index' } ) | .../framework.php:71 |
| 5 | 0.0059 | 794664 | Front->execute( $action = class Action { private $id = 'startup/router'; private $route = 'startup/router'; private $method = 'index' } ) | .../front.php:29 |
| 6 | 0.0059 | 794664 | Action->execute( $registry = class Registry { private $data = ['config' => class Config { ... }, 'load' => class Loader { ... }, 'request' => class Request { ... }, 'response' => class Response { ... }, 'db' => class DB { ... }, 'session' => class Session { ... }, 'cache' => class Cache { ... }, 'language' => class Language { ... }, 'document' => class Document { ... }, 'translit' => class Translit { ... }, 'model_localisation_language' => class Proxy { ... }, 'http_scheme' => 'https', 'http_host' => 'www.danswinkel.nl', 'url' => class Url { ... }, 'model_tool_common' => class Proxy { ... }, 'model_tool_image' => class Proxy { ... }, 'customer' => class Cart\Customer { ... }, 'currency' => class Cart\Currency { ... }, 'tax' => class Tax { ... }, 'cart' => class Cart\Cart { ... }, 'total' => class Cart\Total { ... }, 'model_catalog_product_clear' => class Proxy { ... }, 'product' => class Service\Product { ... }, 'model_checkout_order_clear' => class Proxy { ... }, 'order' => class Service\Order { ... }, 'encryption' => class Encryption { ... }, 'length' => class Length { ... }, 'log' => class Log { ... }, 'model_catalog_page_param' => class Proxy { ... }] }, $args = ??? ) | .../front.php:34 |
| 7 | 0.0060 | 794872 | ControllerStartupRouter->index( ) | .../action.php:55 |
| 8 | 0.0060 | 795120 | Action->execute( $registry = class Registry { private $data = ['config' => class Config { ... }, 'load' => class Loader { ... }, 'request' => class Request { ... }, 'response' => class Response { ... }, 'db' => class DB { ... }, 'session' => class Session { ... }, 'cache' => class Cache { ... }, 'language' => class Language { ... }, 'document' => class Document { ... }, 'translit' => class Translit { ... }, 'model_localisation_language' => class Proxy { ... }, 'http_scheme' => 'https', 'http_host' => 'www.danswinkel.nl', 'url' => class Url { ... }, 'model_tool_common' => class Proxy { ... }, 'model_tool_image' => class Proxy { ... }, 'customer' => class Cart\Customer { ... }, 'currency' => class Cart\Currency { ... }, 'tax' => class Tax { ... }, 'cart' => class Cart\Cart { ... }, 'total' => class Cart\Total { ... }, 'model_catalog_product_clear' => class Proxy { ... }, 'product' => class Service\Product { ... }, 'model_checkout_order_clear' => class Proxy { ... }, 'order' => class Service\Order { ... }, 'encryption' => class Encryption { ... }, 'length' => class Length { ... }, 'log' => class Log { ... }, 'model_catalog_page_param' => class Proxy { ... }] }, $args = ??? ) | .../router.php:18 |
| 9 | 0.0060 | 795448 | ControllerProductPageParam->index( ) | .../action.php:55 |
| 10 | 0.2202 | 841400 | Service\Product->getProductPageParamBadges( $data = ['page_param_id' => '132', 'category_ids' => [], 'pv_ids' => [0 => '790', 1 => '837', 2 => '839'], 'p_count' => 1, 'multiple_params' => [], 'badges' => [], 'price_from' => '', 'price_to' => '', 'sort' => 'default', 'order' => 'desc', 'page' => 1, 'limit' => '24'], $badges = ['bestseller' => ['code' => 'bestseller', 'color' => '#d1c5c5', 'css_class' => '', 'name' => 'Bestseller', 'short_description' => 'Bestseller', 'is_filter' => '1', 'is_sort' => '1', 'image' => 'https://www.danswinkel.nl/image/badge/bestseller/bestseller.svg', 'description' => 'Bestseller', 'sort_order' => '2'], 'eco' => ['code' => 'eco', 'color' => '#b6d1bb', 'css_class' => '', 'name' => 'ECO', 'short_description' => 'ECO', 'is_filter' => '1', 'is_sort' => '1', 'image' => 'https://www.danswinkel.nl/image/badge/eco/eco.svg', 'description' => 'ECO', 'sort_order' => '3'], 'rad' => ['code' => 'rad', 'color' => '#e0cee0', 'css_class' => '', 'name' => 'RAD', 'short_description' => 'RAD geschikte balletkleding', 'is_filter' => '1', 'is_sort' => '1', 'image' => 'https://www.danswinkel.nl/image/badge/rad/rad.svg', 'description' => 'Geschikte balletkleding voor Royal Academy of Dance (RAD) lessen.', 'sort_order' => '4'], 'uitverkocht' => ['code' => 'uitverkocht', 'color' => '#f4cccc', 'css_class' => '', 'name' => 'Uitverkocht', 'short_description' => 'Uitverkocht', 'is_filter' => '0', 'is_sort' => '0', 'image' => 'https://www.danswinkel.nl/image/badge/uitverkocht/uitverkocht.svg', 'description' => 'Uitverkocht', 'sort_order' => '4']] ) | .../page_param.php:303 |
| 11 | 0.2202 | 841776 | Proxy->__call( $key = 'getProductPageParamBadges', $args = [0 => ['page_param_id' => '132', 'category_ids' => [...], 'pv_ids' => [...], 'p_count' => 1, 'multiple_params' => [...], 'badges' => [...], 'price_from' => '', 'price_to' => '', 'sort' => 'default', 'order' => 'desc', 'page' => 1, 'limit' => '24'], 1 => ['bestseller' => [...], 'eco' => [...], 'rad' => [...], 'uitverkocht' => [...]]] ) | .../product.php:71 |
| 12 | 0.2202 | 842560 | Loader->{closure:/var/www/site-dev/system/engine/loader.php:108-138}( $args = [0 => ['page_param_id' => '132', 'category_ids' => [...], 'pv_ids' => [...], 'p_count' => 1, 'multiple_params' => [...], 'badges' => [...], 'price_from' => '', 'price_to' => '', 'sort' => 'default', 'order' => 'desc', 'page' => 1, 'limit' => '24'], 1 => ['bestseller' => [...], 'eco' => [...], 'rad' => [...], 'uitverkocht' => [...]]], [0 => ['page_param_id' => '132', 'category_ids' => [...], 'pv_ids' => [...], 'p_count' => 1, 'multiple_params' => [...], 'badges' => [...], 'price_from' => '', 'price_to' => '', 'sort' => 'default', 'order' => 'desc', 'page' => 1, 'limit' => '24'], 1 => ['bestseller' => [...], 'eco' => [...], 'rad' => [...], 'uitverkocht' => [...]]] ) | .../proxy.php:25 |
| 13 | 0.2202 | 843888 | ModelCatalogProductClear->getProductPageParamBadges( $criteria = ['page_param_id' => '132', 'category_ids' => [], 'pv_ids' => [0 => '790', 1 => '837', 2 => '839'], 'p_count' => 1, 'multiple_params' => [], 'badges' => [], 'price_from' => '', 'price_to' => '', 'sort' => 'default', 'order' => 'desc', 'page' => 1, 'limit' => '24'], $db_badges = ['bestseller' => ['code' => 'bestseller', 'color' => '#d1c5c5', 'css_class' => '', 'name' => 'Bestseller', 'short_description' => 'Bestseller', 'is_filter' => '1', 'is_sort' => '1', 'image' => 'https://www.danswinkel.nl/image/badge/bestseller/bestseller.svg', 'description' => 'Bestseller', 'sort_order' => '2'], 'eco' => ['code' => 'eco', 'color' => '#b6d1bb', 'css_class' => '', 'name' => 'ECO', 'short_description' => 'ECO', 'is_filter' => '1', 'is_sort' => '1', 'image' => 'https://www.danswinkel.nl/image/badge/eco/eco.svg', 'description' => 'ECO', 'sort_order' => '3'], 'rad' => ['code' => 'rad', 'color' => '#e0cee0', 'css_class' => '', 'name' => 'RAD', 'short_description' => 'RAD geschikte balletkleding', 'is_filter' => '1', 'is_sort' => '1', 'image' => 'https://www.danswinkel.nl/image/badge/rad/rad.svg', 'description' => 'Geschikte balletkleding voor Royal Academy of Dance (RAD) lessen.', 'sort_order' => '4'], 'uitverkocht' => ['code' => 'uitverkocht', 'color' => '#f4cccc', 'css_class' => '', 'name' => 'Uitverkocht', 'short_description' => 'Uitverkocht', 'is_filter' => '0', 'is_sort' => '0', 'image' => 'https://www.danswinkel.nl/image/badge/uitverkocht/uitverkocht.svg', 'description' => 'Uitverkocht', 'sort_order' => '4']] ) | .../loader.php:132 |
| 14 | 0.3172 | 884352 | DB->query( $sql = 'SELECT p2b.badge_code, COUNT(DISTINCT p2b.product_id) AS p_count\n FROM product_to_badge p2b\n INNER JOIN product p ON (p2b.product_id = p.product_id) INNER JOIN product_to_category p2c ON (p2c.product_id = p.product_id AND p2c.category_id IN())WHERE p.status = \'1\' AND p.disable = \'0\' AND p2b.product_id IN(49,58,61,75,76,103,114,138,145,154,217,252,257,279,309,595,599,671,673,692,694,695,696,697,699,700,702,706,709,710,713,717,718,720,721,722,730,732,746,749,752,753,758,760,763,862,863,'..., $params = ??? ) | .../product_clear.php:5181 |
| 15 | 0.3172 | 884352 | DB\MySQLi->query( $sql = 'SELECT p2b.badge_code, COUNT(DISTINCT p2b.product_id) AS p_count\n FROM product_to_badge p2b\n INNER JOIN product p ON (p2b.product_id = p.product_id) INNER JOIN product_to_category p2c ON (p2c.product_id = p.product_id AND p2c.category_id IN())WHERE p.status = \'1\' AND p.disable = \'0\' AND p2b.product_id IN(49,58,61,75,76,103,114,138,145,154,217,252,257,279,309,595,599,671,673,692,694,695,696,697,699,700,702,706,709,710,713,717,718,720,721,722,730,732,746,749,752,753,758,760,763,862,863,'..., [] ) | .../db.php:16 |
| 16 | 0.3172 | 884352 | query( $query = 'SELECT p2b.badge_code, COUNT(DISTINCT p2b.product_id) AS p_count\n FROM product_to_badge p2b\n INNER JOIN product p ON (p2b.product_id = p.product_id) INNER JOIN product_to_category p2c ON (p2c.product_id = p.product_id AND p2c.category_id IN())WHERE p.status = \'1\' AND p.disable = \'0\' AND p2b.product_id IN(49,58,61,75,76,103,114,138,145,154,217,252,257,279,309,595,599,671,673,692,694,695,696,697,699,700,702,706,709,710,713,717,718,720,721,722,730,732,746,749,752,753,758,760,763,862,863,'... ) | .../mysqli.php:18 |