Mr Lucky
Well-known member
Please can someone tell me what this error means?
EDIT: sorry I pasted the wrong one, I meant paste the error as it appears when no addons are enabled
It was caused by trying to publish a post with a specific link to another thread.
While troubleshooting I disabled addons, tried default style.
I found however that it was fine to post the same link in other threads.
This was the link
Just tested again today and it posted fine, with the apostrophe and also unfurled.
So I am puzzled as to why this happened, seemingly random.
Can anyone shed any light on this, thanks./
Code:
TypeError: XF\Util\Url::urlToUtf8(): Argument #1 ($url) must be of type string, null given, called in /home/caf/public_html/xf2.cafesaxophone.com/src/XF/BbCode/ProcessorAction/AutoLink.php on line 430 in src/XF/Util/Url.php at line 50
[LIST=1]
[*]XF\Util\Url::urlToUtf8() in src/XF/BbCode/ProcessorAction/AutoLink.php at line 430
[*]XF\BbCode\ProcessorAction\AutoLink->unfurlLinkUrl() insrc/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/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
[/LIST]
EDIT: sorry I pasted the wrong one, I meant paste the error as it appears when no addons are enabled
It was caused by trying to publish a post with a specific link to another thread.
While troubleshooting I disabled addons, tried default style.
I found however that it was fine to post the same link in other threads.
This was the link
https://cafesaxophone.com/threads/student-choosing-the-teacher%E2%80%99s-method.34810/
and I found if I removed the apostrophe %E2%80%99
then the link was fine but did not unfurl, however I believe that the apostrophe in a thread title link should not cause an error.Just tested again today and it posted fine, with the apostrophe and also unfurled.
So I am puzzled as to why this happened, seemingly random.
Can anyone shed any light on this, thanks./
Last edited: