jos-Error: JDatabaseMySQL::query: 2006 - MySQL server has gone away SQL=SELECT id, home, template, s.params FROM jos_template_styles as s LEFT JOIN jos_extensions as e ON e.element=s.template AND e.type='template' AND e.client_id=s.client_id WHERE s.client_id = 0 AND e.enabled = 1

JSite -> initialise() @ /var/www/vhosts/aprinkis/index.php:30
JApplication -> initialise() @ /var/www/vhosts/aprinkis/includes/application.php:116
JApplication -> triggerEvent() @ /var/www/vhosts/aprinkis/libraries/joomla/application/application.php:230
JDispatcher -> trigger() @ /var/www/vhosts/aprinkis/libraries/joomla/application/application.php:642
JEvent -> update() @ /var/www/vhosts/aprinkis/libraries/joomla/event/dispatcher.php:161
call_user_func_array() @ /var/www/vhosts/aprinkis/libraries/joomla/event/event.php:71
PlgSystemJoomlaOverride -> onAfterInitialise()
JSite -> getTemplate() @ /var/www/vhosts/aprinkis/plugins/system/joomlaoverride/joomlaoverride.php:39
JDatabase -> loadObjectList() @ /var/www/vhosts/aprinkis/includes/application.php:461
JDatabaseMySQL -> execute() @ /var/www/vhosts/aprinkis/libraries/joomla/database/database.php:1126
JError :: raiseError() @ /var/www/vhosts/aprinkis/libraries/joomla/database/database/mysql.php:548
JError :: raise() @ /var/www/vhosts/aprinkis/libraries/joomla/error/error.php:251
JError :: throwError() @ /var/www/vhosts/aprinkis/libraries/joomla/error/error.php:176
call_user_func_array() @ /var/www/vhosts/aprinkis/libraries/joomla/error/error.php:214
JError :: handleCallback()
call_user_func() @ /var/www/vhosts/aprinkis/libraries/joomla/error/error.php:765
JError :: customErrorPage()
JSite -> getTemplate() @ /var/www/vhosts/aprinkis/libraries/joomla/error/error.php:791
JDatabase -> loadObjectList() @ /var/www/vhosts/aprinkis/includes/application.php:461
JDatabaseMySQL -> execute() @ /var/www/vhosts/aprinkis/libraries/joomla/database/database.php:1126
JError :: raiseError() @ /var/www/vhosts/aprinkis/libraries/joomla/database/database/mysql.php:548
JError :: raise() @ /var/www/vhosts/aprinkis/libraries/joomla/error/error.php:251