XF 2.3 Error with optimize attachments option

PhineasD

Active member
I have less than 500 attachments :unsure:


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

  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 177
  6. XF\Db\AbstractAdapter->fetchPairs() in src/XF/DataRegistry.php at line 169
  7. XF\DataRegistry->readFromDb() in src/XF/DataRegistry.php at line 102
  8. XF\DataRegistry->get() in src/XF/DataRegistry.php at line 271
  9. XF\DataRegistry->offsetGet() in src/XF/App.php at line 2165
  10. XF\App->XF\{closure}() in src/XF/Container.php at line 33
  11. XF\Container->offsetGet() in src/XF/App.php at line 1499
  12. XF\App->XF\{closure}() in src/XF/Container.php at line 233
  13. XF\Container->create() in src/XF/App.php at line 1609
  14. XF\App->XF\{closure}() in src/XF/Container.php at line 233
  15. XF\Container->create() in src/XF/App.php at line 3812
  16. XF\App->iconRenderer() in src/XF/Admin/App.php at line 129
  17. XF\Admin\App->preRender() in src/XF/Mvc/Dispatcher.php at line 407
  18. XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 66
  19. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2813
  20. XF\App->run() in src/XF.php at line 802
  21. XF::runApp() in admin.php at line 15
 
Back
Top Bottom