MySQL server has gone away (2006)
SELECT SQL_CALC_FOUND_ROWS products.product_id, IF(shared_descr.product_id IS NOT NULL, shared_descr.product, descr1.product) as product, cscart_supplier_links.supplier_id, products.product_type, products.parent_product_id, 1 as instock_marker, IF(IF(products.tracking = 'O', (SELECT MAX(amount) FROM cscart_product_options_inventory s_inventory WHERE s_inventory.product_id = products.product_id) > 0, products.amount > 0), 1, IF(products.tracking = 'D', 1, 0)) as instock_sorting FROM cscart_products as products LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ru' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id AND shared_descr.company_id = 1 AND shared_descr.lang_code = 'ru' LEFT JOIN cscart_supplier_links ON cscart_supplier_links.object_id = products.product_id AND cscart_supplier_links.object_type = 'P' WHERE 1 AND cscart_categories.company_id = 1 AND prices.usergroup_id IN (0) AND ((1 AND products.product_id IN (82326)) AND cscart_categories.company_id = 1 AND prices.usergroup_id IN (0)) GROUP BY products.product_id ORDER BY instock_sorting DESC, NULL asc
app/Tygh/Database/Connection.php, line: 1153
File: | app/Tygh/Database/Connection.php |
Line: | 516 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 226 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 31 |
Function: | getArray |
File: | app/functions/fn.catalog.php |
Line: | 7602 |
Function: | db_get_array |
File: | app/functions/fn.catalog.php |
Line: | 7685 |
Function: | {closure} |
File: | app/addons/product_variations/src/Product/Repository.php |
Line: | 134 |
Function: | fn_get_products |
File: | app/addons/product_variations/src/Product/Repository.php |
Line: | 260 |
Function: | findProducts |
File: | app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php |
Line: | 237 |
Function: | findProduct |
File: | app/Tygh/Addons/Loader.php |
Line: | 152 |
Function: | onGetProductNamePost |
File: | app/functions/fn.control.php |
Line: | 120 |
Function: | Tygh\Addons\{closure} |
File: | app/functions/fn.catalog.php |
Line: | 466 |
Function: | fn_set_hook |
File: | var/cache/templates/grt__unitheme2/4af0b9556610f417438c2b723ac980624e4d229a.tygh.product_notification_items.tpl.php |
Line: | 111 |
Function: | fn_get_product_name |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6abc5582786_44018543 |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php |
Line: | 304 |
Function: | fetch |
File: | var/cache/templates/grt__unitheme2/8f022fdf3e005ff9b2d5019a59367c3698e44ccd.tygh.notification.tpl.php |
Line: | 49 |
Function: | getSubTemplate |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6abc54f2541_62487070 |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php |
Line: | 304 |
Function: | fetch |
File: | var/cache/templates/grt__unitheme2/ecc1cad124a9c1d44d60acd7be1c45d483d69bf2.tygh.product_notification.tpl.php |
Line: | 71 |
Function: | getSubTemplate |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6abc549b9e5_74812875 |
File: | app/Tygh/SmartyEngine/Core.php |
Line: | 77 |
Function: | fetch |
File: | app/controllers/frontend/product_features.php |
Line: | 72 |
Function: | fetch |
File: | app/functions/fn.control.php |
Line: | 679 |
Function: | include |
File: | app/functions/fn.control.php |
Line: | 430 |
Function: | fn_run_controller |
File: | index.php |
Line: | 25 |
Function: | fn_dispatch |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::query(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 79
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 79 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 475 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
Tygh\Backend\Database\Mysqli::errorCode(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 131
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 131 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 930 |
Function: | errorCode |
File: | app/Tygh/Database/Connection.php |
Line: | 1110 |
Function: | errorCode |
File: | app/Tygh/Database/Connection.php |
Line: | 506 |
Function: | hasError |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |