I am getting the following error when I try to rebuild the Search index.
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...
anexceptionoccurred:[xf\db\exception]mysqlstatementprepareerrormysql
rebuilding search index error
xenforo
[2006]: mysql server has gone away in src/xf/db/abstractstatement.php on line 212