Not a bug New install of: Media Gallery 2.2.4 - Unknown column 'album_title_last_edit_date'

Tinuva

Member
Affected version
Media Gallery 2.2.4
Just installed a new install of Media Gallery 2.2.4 on XF 2.2.8patch1.

When creating a new personal album after adding photos, get the following error:

Oops! We ran into some problems.
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'album_title_last_edit_date' in 'field list' in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 41
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 56
  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 220
  6. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1514
  7. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1246
  8. XF\Mvc\Entity\Entity->save() in src/addons/XFMG/Service/Album/Creator.php at line 187
  9. XFMG\Service\Album\Creator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
  10. XFMG\Service\Album\Creator->save() in src/addons/XFMG/Pub/Controller/Media.php at line 987
  11. XFMG\Pub\Controller\Media->getContainerToSaveMedia() in src/addons/XFMG/Pub/Controller/Media.php at line 824
  12. XFMG\Pub\Controller\Media->actionSaveMedia() in src/XF/Mvc/Dispatcher.php at line 352
  13. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  14. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
  17. XF\App->run() in src/XF.php at line 517
  18. XF::runApp() in index.php at line 20
 
Not entirely sure how this would be possible. We do not have a reference in the code to album_title_last_edit_date anywhere.

Do you have any add-ons installed aside from Media Gallery?
 
Ah that explains why I didn't see it in Mysql.php of this addon.

I have the following installed in addition to media gallery:

Content Title Edit History 2.3.0
Demo - Portal 1.0.0 Alpha
Moderator Essentials 2.4.1
Standard Library 1.5.4
Tapatalk 1.2.9
XenForo Enhanced Search 2.2.2
 
When I grep for this name:

Code:
 xenforo]# grep -lir "album_title_last_edit_date" *
upload/src/addons/SV/TitleEditHistory/XFMG/Entity/Album.php
upload/src/addons/SV/TitleEditHistory/Setup.php
 
Top Bottom