btmgreg
Well-known member
I disabled the covers feature on the thread starter addon, and now have this as an error -I keep getting this error, but I can't really figure out why. I've re-installed and rebuilt the covers addon. Latest version.
Error: Class "Snog\TV\Tmdb\Image" not found in src/addons/Snog/Movies/Service/Thread/Cover.php at line 68
- Snog\Movies\Service\Thread\Cover->update() in src/addons/Snog/Movies/Job/MovieThreadCoverUpdate.php at line 58
- Snog\Movies\Job\MovieThreadCoverUpdate->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 42
- XF\Job\AbstractRebuildJob->run() in src/addons/Snog/Movies/Job/MovieThreadCoverUpdate.php at line 20
- Snog\Movies\Job\MovieThreadCoverUpdate->run() in src/XF/Job/Manager.php at line 260
- XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
- XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
- XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
- XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
- XF\App->run() in src/XF.php at line 524
- XF::runApp() in admin.php at line 13
- XF\Db\DuplicateKeyException: Job Snog\Movies:MovieNewCompanies: MySQL query error [1062]: Duplicate entry '1' for key 'PRIMARY'
- src/XF/Db/AbstractStatement.php:230
- Generated by: Unknown account
- 28 January 2024 at 9:12 PM
Stack trace
INSERT INTOxf_snog_movies_company
(company_id
, description
, headquarters
, name
, origin_country
, logo_path
, homepage
, parent_company_id
, small_image_date
, large_image_date
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(220): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1521): XF\Db\AbstractAdapter->insert('xf_snog_movies_...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1253): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/addons/Snog/Movies/Service/Company/Creator.php(93): XF\Mvc\Entity\Entity->save()
#7 src/XF/Service/ValidateAndSavableTrait.php(42): Snog\Movies\Service\Company\Creator->_save()
#8 src/addons/Snog/Movies/Job/MovieNewCompanies.php(60): Snog\Movies\Service\Company\Creator->save()
#9 src/XF/Job/Manager.php(260): Snog\Movies\Job\MovieNewCompanies->run(6.9715)
#10 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 6.9715)
#11 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 6.9715)
#12 job.php(43): XF\Job\Manager->runQueue(false, 8)
#13 {main}
Request state
array(4) {["url"] => string(8) "/job.php"
["referrer"] => string(65) "shnip-dmin.php?tools/rebuild&success=1"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}