Michaelb24179
Member
since the update to xenforo 2.2 i have the following error when i start hourly clean up
	
	
	
		
I rebuilt Xenforo and also the rebuild caches. All addons have been deactivated. I optimized my SQL database, it didn't help. I had to set my PHP memory_limit very high so that I didn't get a blank page.
				
			
		Code:
	
	An exception occurred: [XF\Db\Exception] MySQL statement prepare error [2006]: MySQL server has gone away in src/XF/Db/AbstractStatement.php on line 228
    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
    XF\Db\AbstractAdapter->query() in src/XF/Mvc/Entity/Finder.php at line 1346
    XF\Mvc\Entity\Finder->fetchOne() in src/XF/Repository/UpgradeCheck.php at line 33
    XF\Repository\UpgradeCheck->getLatestUpgradeCheck() in src/XF/Admin/App.php at line 239
    XF\Admin\App->renderPageHtml() in src/XF/App.php at line 2105
    XF\App->renderPage() in src/XF/Admin/App.php at line 123
    XF\Admin\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 402
    XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
    XF\App->run() in src/XF.php at line 464
    XF::runApp() in admin.php at line 13
	I rebuilt Xenforo and also the rebuild caches. All addons have been deactivated. I optimized my SQL database, it didn't help. I had to set my PHP memory_limit very high so that I didn't get a blank page.
