Fixed Media add error

Affected version
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'custom_thumbnail_date' in 'field list' in src/XF/Db/AbstractStatement.php at line 212
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 174
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 35
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 46
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 69
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 145
  6. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1343
  7. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1085
  8. XF\Mvc\Entity\Entity->save() in src/addons/XFMG/Service/Media/Creator.php at line 233
  9. XFMG\Service\Media\Creator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
  10. XFMG\Service\Media\Creator->save() in src/addons/XFMG/Pub/Controller/Media.php at line 732
  11. XFMG\Pub\Controller\Media->actionSaveMedia() in src/XF/Mvc/Dispatcher.php at line 249
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1845
  15. XF\App->run() in src/XF.php at line 328
  16. XF::runApp() in index.php at line 13

Chris D

XenForo developer
Staff member
I think this is an error for new installs only.

Do you have access to run CLI commands on your server? If so, I can tell you how to fix it.

Chris D

XenForo developer
Staff member
If you require support, please add your forum username to the "Forum users" page in the Customer area. If you don't yet own a license, please buy one.