ideasmania
Member
Hello there, I am getting thiis error using PHP 7.4 + MySQL 10.3.32-MariaDB-cll-lve, everything was runniing smoothly and about 4 days ago the logged-in users started to get this following error and having slow sessions specially on the thread pages (I guess the hosting company upgraded to this Mysql version that have some issues with Xenforo 2.2). BTW, I am on a shared hosting (thinking to move to a VPS soon).
	
	
	
		
Any guess how I could solve this?
Thank you in advance
				
			
		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 230
    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 41
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 56
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
    XF\Db\AbstractAdapter->query() in src/XF/Session/DbStorage.php at line 57
    XF\Session\DbStorage->writeSession() in src/XF/Session/Session.php at line 221
    XF\Session\Session->save() in src/XF/Pub/App.php at line 462
    XF\Pub\App->complete() in src/XF/App.php at line 2354
    XF\App->run() in src/XF.php at line 517
    XF::runApp() in index.php at line 20
	Any guess how I could solve this?
Thank you in advance