XF 2.1 Xenforo Gallery Import Failing

Rushster

Member
Hi

I am trying to import a Photopost gallery to Xenforo Media Gallery and get this error once the whole process of importing stuff has completed. Not sure how to get around it.

XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry 'xfmg_media-20546-360970' for key 'content_type_id_user_id' in src/XF/Db/AbstractStatement.php at line 217
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 77
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 221
  5. XF\Db\AbstractAdapter->insert() in src/XF/Import/Data/EntityEmulator.php at line 326
  6. XF\Import\Data\EntityEmulator->insert() in src/XF/Import/Data/AbstractEmulatedData.php at line 55
  7. XF\Import\Data\AbstractEmulatedData->write() in src/XF/Import/Data/AbstractData.php at line 127
  8. XF\Import\Data\AbstractData->save() in src/addons/XFMG/Import/Importer/PhotopostPro.php at line 685
  9. XFMG\Import\Importer\PhotopostPro->stepRatings() in src/XF/Import/Runner.php at line 231
  10. XF\Import\Runner->runStep() in src/XF/Import/Runner.php at line 59
  11. XF\Import\Runner->run() in src/XF/Admin/Controller/Import.php at line 234
  12. XF\Admin\Controller\Import->actionRun() in src/XF/Mvc/Dispatcher.php at line 321
  13. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
  14. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2178
  17. XF\App->run() in src/XF.php at line 390
  18. XF::runApp() in admin.php at line 13
Any help here would be great.
 
Back
Top Bottom