XF 2.1 ErrorException: [E_NOTICE] Trying to get property 'url' of non-object

calopezes

Member
When inserting URL in post...


#0 src/XF/BbCode/ProcessorAction/AutoLink.php(433): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/www/vhosts...', 433, Array)
#1 src/XF/BbCode/ProcessorAction/AutoLink.php(414): XF\BbCode\ProcessorAction\AutoLink->getUnfurlBbCode('https://xenforo...')
#2 src/XF/BbCode/ProcessorAction/AutoLink.php(134): XF\BbCode\ProcessorAction\AutoLink->unfurlLinkUrl('https://xenforo...')
#3 [internal function]: XF\BbCode\ProcessorAction\AutoLink->XF\BbCode\ProcessorAction\{closure}(Array)
#4 src/XF/BbCode/ProcessorAction/AutoLink.php(145): preg_replace_callback('#^(?<=[^a-z0-9@...', Object(Closure), 'https://xenforo...')
#5 [internal function]: XF\BbCode\ProcessorAction\AutoLink->filterString('https://xenforo...', Array, Object(XF\BbCode\Processor))
#6 src/XF/BbCode/Processor.php(375): call_user_func(Array, 'https://xenforo...', Array, Object(XF\BbCode\Processor))
#7 src/XF/BbCode/Processor.php(358): XF\BbCode\Processor->filterString('https://xenforo...', Array)
#8 src/XF/BbCode/Traverser.php(65): XF\BbCode\Processor->renderString('https://xenforo...', Array)
#9 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#10 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(Tapatalk\XF\BbCode\RuleSet), Array)
#11 src/XF/Service/Message/Preparer.php(160): XF\BbCode\Traverser->render('https://xenforo...', Object(XF\BbCode\Parser), Object(Tapatalk\XF\BbCode\RuleSet), Array)
#12 src/XF/Service/Message/Preparer.php(122): XF\Service\Message\Preparer->processMessage('https://xenforo...')
#13 src/XF/Service/Post/Preparer.php(98): XF\Service\Message\Preparer->prepare('https://xenforo...', true)
#14 src/XF/Service/Thread/Creator.php(148): XF\Service\Post\Preparer->setMessage('https://xenforo...', true, true)
#15 src/XF/Pub/Controller/Forum.php(545): XF\Service\Thread\Creator->setContent('iconos', 'https://xenforo...')
#16 src/XF/Pub/Controller/Forum.php(819): XF\Pub\Controller\Forum->setupThreadCreate(Object(XF\Entity\Forum))
#17 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Forum->actionThreadPreview(Object(XF\Mvc\ParameterBag))
#18 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'ThreadPreview', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Trending\XF\Pub\Controller\Forum), NULL)
#19 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Trending\XF\Pub\Controller\Forum), NULL)
#20 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#21 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#22 src/XF.php(390): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
 
You posted this same error in a previous thread and I asked for some additional details:

 
Top Bottom