Ok so i got the error message again and it was after I posted the movie lost boys.
ErrorException: [E_NOTICE] Undefined offset: 0
- src/addons/Snog/Movies/Helper/Tmdb.php:18
- Generated by: Mr. Eighties
- Jun 12, 2023 at 4:32 PM
#0 src/addons/Snog/Movies/Helper/Tmdb.php(18): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/chtas/pub...', 18, Array)
#1 src/addons/Snog/Movies/ThreadType/Movie.php(265): Snog\Movies\Helper\Tmdb->parseMovieId('
https://www.the...')
#2 src/XF/Service/Thread/Creator.php(338): Snog\Movies\ThreadType\Movie->processExtraDataService(Object(Snog\TV\XF\Entity\Thread), 'create', Object(XF\Http\Request), Array)
#3 src/XF/Service/Thread/Creator.php(207): XF\Service\Thread\Creator->setDiscussionTypeAndDataInternal('snog_movies_mov...', Object(XF\Http\Request), Array)
#4 src/XF/Pub/Controller/Forum.php(664): XF\Service\Thread\Creator->setDiscussionTypeAndData('snog_movies_mov...', Object(XF\Http\Request))
#5 src/XF/Pub/Controller/Forum.php(884): XF\Pub\Controller\Forum->setupThreadCreate(Object(Snog\TV\XF\Entity\Forum))
#6 src/addons/Snog/Games/XF/Pub/Controller/Forum.php(45): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#7 src/addons/Snog/Movies/XF/Pub/Controller/Forum.php(69): Snog\Games\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#8 src/addons/Snog/Music/XF/Pub/Controller/Forum.php(26): Snog\Movies\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#9 src/addons/Snog/TV/XF/Pub/Controller/Forum.php(34): Snog\Music\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(352): Snog\TV\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(Snog\TV\XF\Pub\Controller\Forum), NULL)
#12 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Snog\TV\XF\Pub\Controller\Forum), NULL)
#13 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#15 src/XF.php(524): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
array(4) {
["url"] => string(47) "/forums/80s-movies.12/post-thread?inline-mode=1"
["referrer"] => string(55) "
https://www.welovetheeighties.com/forums/80s-movies.12/"
["_GET"] => array(1) {
["inline-mode"] => string(1) "1"
}
["_POST"] => array(13) {
["_xfToken"] => string(8) "********"
["title"] => string(0) ""
["discussion_type"] => string(17) "snog_movies_movie"
["message_html"] => string(109) "<p>The movie Lost Boys was alright. Not a movie which I'd purposely tune to or look for to watch. </p>"
["snog_movies_tmdb_id"] => string(53) "
https://www.themoviedb.org/search?query=The+lost+boys"
["watch_thread"] => string(0) ""
["watch_thread_email"] => string(0) ""
["_xfSet"] => array(1) {
["watch_thread"] => string(1) "1"
}
["attachment_hash"] => string(32) "5963956f5b19fef4db2f5b176fe8e811"
["attachment_hash_combined"] => string(82) "{"type":"post","context":{"node_id":12},"hash":"5963956f5b19fef4db2f5b176fe8e811"}"
["_xfRequestUri"] => string(22) "/forums/80s-movies.12/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}