Hi @Painbaker
I am receiving a error in my adminCP
I am receiving a error in my adminCP
Code:
InvalidArgumentException: Attempted to convert array to string/binary [full_cast] src/XF/Mvc/Entity/Entity.php:814
Generated by: TylerAustin Nov 26, 2025 at 6:06 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(688): XF\Mvc\Entity\Entity->_castValueToType(Array, 'full_cast', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(794): XF\Mvc\Entity\Entity->set('full_cast', Array, Array)
#2 src/addons/OzzModz/MoviesImdbApi/Entity/Movie.php(50): XF\Mvc\Entity\Entity->bulkSet(Array, Array)
#3 src/addons/OzzModz/MoviesImdbApi/Snog/Movies/Service/Movie/Preparer.php(33): OzzModz\MoviesImdbApi\Entity\Movie->setFromApiResponse(Array)
#4 src/addons/Snog/Movies/Service/Movie/Creator.php(267): OzzModz\MoviesImdbApi\Snog\Movies\Service\Movie\Preparer->afterInsert()
#5 src/XF/Service/ValidateAndSavableTrait.php(42): Snog\Movies\Service\Movie\Creator->_save()
#6 src/addons/Snog/Movies/Service/Thread/TypeData/MovieCreator.php(68): Snog\Movies\Service\Movie\Creator->save()
#7 src/XF/Service/ValidateAndSavableTrait.php(42): Snog\Movies\Service\Thread\TypeData\MovieCreator->_save()
#8 src/XF/Service/Thread/CreatorService.php(547): Snog\Movies\Service\Thread\TypeData\MovieCreator->save()
#9 src/addons/Snog/Games/XF/Service/Thread/Creator.php(20): XF\Service\Thread\CreatorService->_save()
#10 src/addons/Snog/OSBrowser/XF/Service/Thread/Creator.php(9): Snog\Games\XF\Service\Thread\Creator->_save()
#11 src/XF/Service/ValidateAndSavableTrait.php(42): Snog\OSBrowser\XF\Service\Thread\Creator->_save()
#12 src/XF/Pub/Controller/ForumController.php(956): XF\Service\Thread\CreatorService->save()
#13 src/addons/XV/Pub/Controller/Forum.php(226): XF\Pub\Controller\ForumController->actionPostThread(Object(XF\Mvc\ParameterBag))
#14 src/addons/Audentio/Feeds/XF/Pub/Controller/Forum.php(184): XV\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#15 src/addons/Snog/Games/XF/Pub/Controller/Forum.php(42): Audentio\Feeds\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#16 src/addons/Snog/Movies/XF/Pub/Controller/Forum.php(89): Snog\Games\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#17 src/addons/Snog/Music/XF/Pub/Controller/Forum.php(25): Snog\Movies\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#18 src/addons/Snog/TV/XF/Pub/Controller/Forum.php(45): Snog\Music\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#19 src/addons/Truonglv/Groups/XF/Pub/Controller/ForumController.php(17): Snog\TV\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#20 src/XF/Mvc/Dispatcher.php(362): Truonglv\Groups\XF\Pub\Controller\ForumController->actionPostThread(Object(XF\Mvc\ParameterBag))
#21 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\StandardLib\XF\Pub\Controller\Forum), NULL)
#22 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\StandardLib\XF\Pub\Controller\Forum), NULL)
#23 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#24 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#25 src/XF.php(806): XF\App->run()
#26 index.php(23): XF::runApp('XF\\Pub\\App')
#27 {main}
-------------
Previous InvalidArgumentException: Attempted to convert array to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:141
#0 src/XF/Mvc/Entity/Entity.php(810): XF\Mvc\Entity\ValueFormatter->castValueToType(Array, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(688): XF\Mvc\Entity\Entity->_castValueToType(Array, 'full_cast', 5, Array)
#2 src/XF/Mvc/Entity/Entity.php(794): XF\Mvc\Entity\Entity->set('full_cast', Array, Array)
#3 src/addons/OzzModz/MoviesImdbApi/Entity/Movie.php(50): XF\Mvc\Entity\Entity->bulkSet(Array, Array)
#4 src/addons/OzzModz/MoviesImdbApi/Snog/Movies/Service/Movie/Preparer.php(33): OzzModz\MoviesImdbApi\Entity\Movie->setFromApiResponse(Array)
#5 src/addons/Snog/Movies/Service/Movie/Creator.php(267): OzzModz\MoviesImdbApi\Snog\Movies\Service\Movie\Preparer->afterInsert()
#6 src/XF/Service/ValidateAndSavableTrait.php(42): Snog\Movies\Service\Movie\Creator->_save()
#7 src/addons/Snog/Movies/Service/Thread/TypeData/MovieCreator.php(68): Snog\Movies\Service\Movie\Creator->save()
#8 src/XF/Service/ValidateAndSavableTrait.php(42): Snog\Movies\Service\Thread\TypeData\MovieCreator->_save()
#9 src/XF/Service/Thread/CreatorService.php(547): Snog\Movies\Service\Thread\TypeData\MovieCreator->save()
#10 src/addons/Snog/Games/XF/Service/Thread/Creator.php(20): XF\Service\Thread\CreatorService->_save()
#11 src/addons/Snog/OSBrowser/XF/Service/Thread/Creator.php(9): Snog\Games\XF\Service\Thread\Creator->_save()
#12 src/XF/Service/ValidateAndSavableTrait.php(42): Snog\OSBrowser\XF\Service\Thread\Creator->_save()
#13 src/XF/Pub/Controller/ForumController.php(956): XF\Service\Thread\CreatorService->save()
#14 src/addons/XV/Pub/Controller/Forum.php(226): XF\Pub\Controller\ForumController->actionPostThread(Object(XF\Mvc\ParameterBag))
#15 src/addons/Audentio/Feeds/XF/Pub/Controller/Forum.php(184): XV\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#16 src/addons/Snog/Games/XF/Pub/Controller/Forum.php(42): Audentio\Feeds\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#17 src/addons/Snog/Movies/XF/Pub/Controller/Forum.php(89): Snog\Games\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#18 src/addons/Snog/Music/XF/Pub/Controller/Forum.php(25): Snog\Movies\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#19 src/addons/Snog/TV/XF/Pub/Controller/Forum.php(45): Snog\Music\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#20 src/addons/Truonglv/Groups/XF/Pub/Controller/ForumController.php(17): Snog\TV\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#21 src/XF/Mvc/Dispatcher.php(362): Truonglv\Groups\XF\Pub\Controller\ForumController->actionPostThread(Object(XF\Mvc\ParameterBag))
#22 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\StandardLib\XF\Pub\Controller\Forum), NULL)
#23 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\StandardLib\XF\Pub\Controller\Forum), NULL)
#24 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#25 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#26 src/XF.php(806): XF\App->run()
#27 index.php(23): XF::runApp('XF\\Pub\\App')
#28 {main}
Request state
array(4) {
["url"] => string(40) "/forums/movies/post-thread?inline-mode=1"
["referrer"] => string(38) "https://cities-mods.com/forums/movies/"
["_GET"] => array(1) {
["inline-mode"] => string(1) "1"
}
["_POST"] => array(12) {
["_xfToken"] => string(8) "********"
["prefix_id"] => string(2) "11"
["title"] => string(0) ""
["discussion_type"] => string(17) "snog_movies_movie"
["message_html"] => string(0) ""
["snog_movies_tmdb_id"] => string(40) "https://www.themoviedb.org/movie/1248226"
["watch_thread"] => string(1) "1"
["watch_thread_email"] => string(1) "1"
["_xfSet"] => array(1) {
["watch_thread"] => string(1) "1"
}
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["_xfRequestUri"] => string(15) "/forums/movies/"
}
}