- Affected version
- 2.2.13
Broken autolink and error message: TypeError: Argument 1 passed to XF\Util\Url::urlToUtf8() must be of the type string, null given, called in /src/XF/BbCode/ProcessorAction/AutoLink.php on line 430 src/XF/Util/Url.php:50
Code:
XF\Util\Url::urlToUtf8() in src/XF/BbCode/ProcessorAction/AutoLink.php at line 430
XF\BbCode\ProcessorAction\AutoLink->unfurlLinkUrl() in src/XF/BbCode/ProcessorAction/AutoLink.php at line 149
XF\BbCode\ProcessorAction\AutoLink->XF\BbCode\ProcessorAction\{closure}()
preg_replace_callback() in src/XF/BbCode/ProcessorAction/AutoLink.php at line 146
XF\BbCode\ProcessorAction\AutoLink->filterString() in src/XF/BbCode/Processor.php at line 377
XF\BbCode\Processor->filterString() in src/XF/BbCode/Processor.php at line 360
XF\BbCode\Processor->renderString() in src/XF/BbCode/Traverser.php at line 67
XF\BbCode\Traverser->renderSubTree() in src/XF/BbCode/Traverser.php at line 39
XF\BbCode\Traverser->renderAst() in src/XF/BbCode/Traverser.php at line 22
XF\BbCode\Traverser->render() in src/XF/Service/Message/Preparer.php at line 164
XF\Service\Message\Preparer->processMessage() in src/XF/Service/Message/Preparer.php at line 129
XF\Service\Message\Preparer->prepare() in src/addons/XFMG/XF/Service/Message/Preparer.php at line 11
XFMG\XF\Service\Message\Preparer->prepare() in src/XF/Service/Post/Preparer.php at line 98
XF\Service\Post\Preparer->setMessage() in src/XF/Service/Thread/Replier.php at line 114
XF\Service\Thread\Replier->setMessage() in src/XF/Pub/Controller/Thread.php at line 441
XF\Pub\Controller\Thread->setupThreadReply() in src/XF/Pub/Controller/Thread.php at line 590
XF\Pub\Controller\Thread->actionAddReply() 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 index.php at line 20
Last edited: