Fatal error: Uncaught Zend\Db\Adapter\Exception\ErrorException: MySQL server has gone away in /home/allaboutmen/public_html/lib/vendor/zendframework/zend-db/src/Adapter/Driver/Mysqli/Statement.php:211
Stack trace:
#0 /home/allaboutmen/public_html/lib/vendor/zendframework/zend-db/src/Adapter/Adapter.php(193): Zend\Db\Adapter\Driver\Mysqli\Statement->prepare()
#1 /home/allaboutmen/public_html/lib/frontend.php(2877): Zend\Db\Adapter\Adapter->query('REPLACE INTO st...')
#2 /home/allaboutmen/public_html/controllers/frontend/category.php(176): frontend->keepCategoryStats('122')
#3 /home/allaboutmen/public_html/frontend.php(47): category->index('andrika-pantelo...')
#4 /home/allaboutmen/public_html/index.php(97): include('/home/allaboutm...')
#5 {main}
Next Zend\Db\Adapter\Exception\InvalidQueryException: Statement couldn't be produced with sql: REPLACE INTO stats_categories (category_id,popularity) VALUES (122,1) in /home/allaboutmen/public_html/lib/vendor/zendframework/zend-db/src/Adapter/Driver/Mysqli/Statement.php:208
Stack in /home/allaboutmen/public_html/lib/vendor/zendframework/zend-db/src/Adapter/Driver/Mysqli/Statement.php on line 208