( ! ) Fatal error: Uncaught mysqli_sql_exception: Server shutdown in progress in /home/eapteka/web/e-apteka.com.ua/public_html/system/library/db/mysqli_cached.php on line 82
( ! ) mysqli_sql_exception: Server shutdown in progress in /home/eapteka/web/e-apteka.com.ua/public_html/system/library/db/mysqli_cached.php on line 82
Call Stack
#TimeMemoryFunctionLocation
10.0000364208{main}( ).../index.php:0
20.0124388720start( $application_config = 'catalog' ).../index.php:47
30.8557528936Front->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' } ).../startup.php:274
40.88768323120Front->execute( $action = class Action { private $id = 'product/product'; private $route = 'product/product'; private $method = 'index' } ).../front.php:34
50.88768323120Action->execute( $registry = class Registry { private $data = ['config' => class Config { ... }, 'event' => class Event { ... }, 'load' => class Loader { ... }, 'request' => class Request { ... }, 'cache' => class Cache { ... }, 'db_slave' => FALSE, 'db' => class DB { ... }, 'dbCalls' => FALSE, 'crawlerDetect' => class Jaybizzle\CrawlerDetect\CrawlerDetect { ... }, 'mobileDetect' => class Detection\MobileDetect { ... }, 'session' => class Session { ... }, 'language' => class Language { ... }, 'branding' => [...], 'languages' => [...], 'languages_all' => [...], 'languages_id_mapping' => [...], 'languages_id_code_mapping' => [...], 'short_uri_queries' => [...], 'short_uri_keywords' => [...], 'document' => class Document { ... }, 'response' => class Response { ... }, 'TurboSMS' => class TurboSms { ... }, 'MinifyAdaptor' => class hobotix\MinifyAdaptor { ... }, 'PhoneValidator' => class hobotix\PhoneValidator { ... }, 'url' => class Url { ... }, 'model_localisation_language' => class Proxy { ... }, 'customer' => class Cart\Customer { ... }, 'affiliate' => class Cart\Affiliate { ... }, 'model_localisation_currency' => class Proxy { ... }, 'currency' => class Cart\Currency { ... }, 'tax' => class Cart\Tax { ... }, 'weight' => class Cart\Weight { ... }, 'length' => class Cart\Length { ... }, 'cart' => class Cart\Cart { ... }, 'encryption' => class Encryption { ... }, 'model_catalog_product' => class Proxy { ... }, 'model_catalog_attribute' => class Proxy { ... }, 'model_catalog_category' => class Proxy { ... }, 'model_catalog_manufacturer' => class Proxy { ... }, 'AI' => class hobotix\AIAdaptor { ... }, 'AIQueue' => class hobotix\AI\Queue { ... }, 'formElements' => class hobotix\FormElements { ... }, 'log' => class Log { ... }, 'model_extension_event' => class Proxy { ... }, 'model_catalog_ocfilter' => class Proxy { ... }, 'model_tool_image' => class Proxy { ... }, 'ocfilter' => class ControllerExtensionModuleOCFilter { ... }, 'model_tool_tool' => class Proxy { ... }, 'model_catalog_review' => class Proxy { ... }, 'model_extension_module_recently_viewed' => class Proxy { ... }, 'model_simple_blog_article' => class Proxy { ... }, 'model_extension_module_xdstickers' => class Proxy { ... }, 'model_catalog_ochelp_special' => class Proxy { ... }, 'settings' => [...]] }, $args = ??? ).../front.php:41
60.88788323544ControllerProductProduct->index( $tab = ??? ).../action.php:55
70.90618879416Proxy->__call( $key = 'getCountBoughtForMonth', $args = [0 => '4520'] ).../product.php:866
80.90618879880Loader->{closure:/home/eapteka/web/e-apteka.com.ua/public_html/system/storage/modification/system/engine/loader.php:147-191}( $args = [0 => '4520'], [0 => '4520'] ).../proxy.php:31
90.90648880936ModelCatalogProduct->getCountBoughtForMonth( $product_id = '4520' ).../loader.php:178
100.90648881256DB->query( $sql = 'SELECT SUM(quantity) as total FROM oc_order_product op \n\t\t\tWHERE op.product_id = \'4520\' AND op.order_id IN \n\t\t\t(SELECT o.order_id FROM `oc_order` o WHERE o.order_status_id > 0 AND DATE(o.date_added) >= DATE(DATE_SUB(NOW(),INTERVAL 120 DAY)))', $params = ???, $cache = ??? ).../product.php:1564
110.90648881256DB->ncquery( $sql = 'SELECT SUM(quantity) as total FROM oc_order_product op \n\t\t\tWHERE op.product_id = \'4520\' AND op.order_id IN \n\t\t\t(SELECT o.order_id FROM `oc_order` o WHERE o.order_status_id > 0 AND DATE(o.date_added) >= DATE(DATE_SUB(NOW(),INTERVAL 120 DAY)))', $params = [] ).../db.php:43
120.90648881256DB\MySQLi_Cached->ncquery( $sql = 'SELECT SUM(quantity) as total FROM oc_order_product op \n\t\t\tWHERE op.product_id = \'4520\' AND op.order_id IN \n\t\t\t(SELECT o.order_id FROM `oc_order` o WHERE o.order_status_id > 0 AND DATE(o.date_added) >= DATE(DATE_SUB(NOW(),INTERVAL 120 DAY)))', [] ).../db.php:73
130.90648881256query( $query = 'SELECT SUM(quantity) as total FROM oc_order_product op \n\t\t\tWHERE op.product_id = \'4520\' AND op.order_id IN \n\t\t\t(SELECT o.order_id FROM `oc_order` o WHERE o.order_status_id > 0 AND DATE(o.date_added) >= DATE(DATE_SUB(NOW(),INTERVAL 120 DAY)))' ).../mysqli_cached.php:82