MySQL server has gone away (2006)
SELECT p.product_id, ifnull(count(dp.post_id),0) as discussion_amount_posts FROM cscart_discussion INNER JOIN cscart_products as p ON (cscart_discussion.object_id = p.product_id) INNER JOIN cscart_discussion_posts as dp ON (cscart_discussion.thread_id = dp.thread_id AND cscart_discussion.object_type = 'P' AND cscart_discussion.company_id = 1) WHERE dp.status = 'A' and p.product_id in (41997, 78397, 78405, 78413, 78421, 78429, 78437, 78445, 78453, 78390, 78398, 78406, 78414, 78422, 78430, 78438, 78446, 78454, 78391, 78399, 78407, 78415, 78423, 78431, 78439, 78447, 78455, 78456, 78392, 78400, 78408, 78416, 78424, 78432, 78440, 78448, 78457, 78393, 78401, 78409, 78417, 78425, 78433, 78441, 78449, 78458, 78394, 78402, 78410, 78418, 78426, 78434, 78442, 78450, 78459, 78395, 78403, 78411, 78419, 78427, 78435, 78443, 78451, 78460, 78396, 78404, 78412, 78420, 78428, 78436, 78444, 78452) GROUP BY p.product_id
app/Tygh/Database/Connection.php, line: 1153
File: | app/Tygh/Database/Connection.php |
Line: | 516 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 374 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 107 |
Function: | getSingleHash |
File: | app/addons/grt__unitheme2/func.php |
Line: | 185 |
Function: | db_get_hash_single_array |
File: | app/functions/fn.control.php |
Line: | 120 |
Function: | fn_grt__unitheme2_get_products_post |
File: | app/functions/fn.catalog.php |
Line: | 7714 |
Function: | fn_set_hook |
File: | app/addons/product_variations/src/Product/Repository.php |
Line: | 155 |
Function: | fn_get_products |
File: | app/addons/product_variations/src/Product/Repository.php |
Line: | 184 |
Function: | findProductsByParams |
File: | app/addons/product_variations/src/Product/Repository.php |
Line: | 617 |
Function: | findVariationProductsByProductCollection |
File: | app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php |
Line: | 312 |
Function: | loadProductsFeaturesVariants |
File: | app/Tygh/Addons/Loader.php |
Line: | 152 |
Function: | onGatherAdditionalProductsDataParams |
File: | app/functions/fn.control.php |
Line: | 120 |
Function: | Tygh\Addons\{closure} |
File: | app/functions/fn.catalog.php |
Line: | 660 |
Function: | fn_set_hook |
File: | app/Tygh/BlockManager/Block.php |
Line: | 952 |
Function: | fn_gather_additional_products_data |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 795 |
Function: | getItems |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 657 |
Function: | getValue |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 484 |
Function: | renderBlockContent |
File: | app/functions/smarty_plugins/function.render_block.php |
Line: | 47 |
Function: | renderBlock |
File: | var/cache/templates/grt__unitheme2/97c0c8958fb4183c657bdcd79cf34515f5649a20.tygh.product_popup_tabs.tpl.php |
Line: | 125 |
Function: | smarty_function_render_block |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6ab8bec6d33_40318622 |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php |
Line: | 304 |
Function: | fetch |
File: | var/cache/templates/grt__unitheme2/b1d384e230877890b81d4e34424405c1e12fad2d.tygh.bigpicture_template.tpl.php |
Line: | 807 |
Function: | getSubTemplate |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6ab85f2a666_27962584 |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php |
Line: | 304 |
Function: | fetch |
File: | var/cache/templates/grt__unitheme2/2486cc838b1b7f73d5171e6983dfbd9317b61cf1.tygh.view.tpl.php |
Line: | 119 |
Function: | getSubTemplate |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6ab859f9a50_17628074 |
File: | app/Tygh/SmartyEngine/Core.php |
Line: | 77 |
Function: | fetch |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 771 |
Function: | fetch |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 630 |
Function: | _renderMainContent |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 484 |
Function: | renderBlockContent |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 406 |
Function: | renderBlock |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 364 |
Function: | renderBlocks |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 229 |
Function: | renderGrid |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 199 |
Function: | renderGrids |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 163 |
Function: | _renderContainer |
File: | app/functions/smarty_plugins/function.render_location.php |
Line: | 52 |
Function: | render |
File: | var/cache/templates/grt__unitheme2/330483e8a1ceacf145398243f4c3a746c594f394.tygh.index.tpl.php |
Line: | 183 |
Function: | smarty_function_render_location |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6ab82cea555_88154414 |
File: | app/Tygh/SmartyEngine/Core.php |
Line: | 77 |
Function: | fetch |
File: | app/functions/fn.control.php |
Line: | 595 |
Function: | fetch |
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 |
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: | 910 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 601 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 538 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 722 |
Function: | quote |
File: | app/Tygh/Registry.php |
Line: | 474 |
Function: | getCacheHandlers |
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/Database/Connection.php |
Line: | 343 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 732 |
Function: | getMultiHash |
File: | app/Tygh/Registry.php |
Line: | 474 |
Function: | getCacheHandlers |
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/Database/Connection.php |
Line: | 343 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 732 |
Function: | getMultiHash |
File: | app/Tygh/Registry.php |
Line: | 474 |
Function: | getCacheHandlers |