XF 2.2 Error when I try to add a link

htsumer

Active member
What could be the reason for this error when I try to add this link?

Code:
https://kesenek.sgk.gov.tr/KesenekWeb/doc/Aylıksız_İzinli_Sayılan_Kamu_Personeli_GSS_Primleri.pdf

TypeError: Argument 1 passed to XF\Util\Url::urlToUtf8() must be of the type string, null given, called in /home/htsumer/public_html/forum/src/XF/BbCode/ProcessorAction/AutoLink.php on line 430 in src/XF/Util/Url.php at line 50
  1. XF\Util\Url::urlToUtf8() in src/XF/BbCode/ProcessorAction/AutoLink.php at line 430
  2. XF\BbCode\ProcessorAction\AutoLink->unfurlLinkUrl() in src/XF/BbCode/ProcessorAction/AutoLink.php at line 149
  3. XF\BbCode\ProcessorAction\AutoLink->XF\BbCode\ProcessorAction\{closure}()
  4. preg_replace_callback() in src/XF/BbCode/ProcessorAction/AutoLink.php at line 146
  5. XF\BbCode\ProcessorAction\AutoLink->filterString() in src/XF/BbCode/Processor.php at line 377
  6. XF\BbCode\Processor->filterString() in src/XF/BbCode/Processor.php at line 360
  7. XF\BbCode\Processor->renderString() in src/XF/BbCode/Traverser.php at line 67
  8. XF\BbCode\Traverser->renderSubTree() in src/XF/BbCode/Traverser.php at line 39
  9. XF\BbCode\Traverser->renderAst() in src/XF/BbCode/Traverser.php at line 22
  10. XF\BbCode\Traverser->render() in src/XF/Service/Message/Preparer.php at line 164
  11. XF\Service\Message\Preparer->processMessage() in src/XF/Service/Message/Preparer.php at line 129
  12. XF\Service\Message\Preparer->prepare() in src/XF/Service/Post/Preparer.php at line 98
  13. XF\Service\Post\Preparer->setMessage() in src/XF/Service/Post/Editor.php at line 129
  14. XF\Service\Post\Editor->setMessage() in src/XF/Pub/Controller/Post.php at line 58
  15. XF\Pub\Controller\Post->setupPostEdit() in src/addons/TickTackk/ChangeContentOwner/XF/Pub/Controller/Post.php at line 51
  16. TickTackk\ChangeContentOwner\XF\Pub\Controller\Post->setupPostEdit() in src/XF/Pub/Controller/Post.php at line 127
  17. XF\Pub\Controller\Post->actionEdit() in src/addons/TickTackk/ChangeContentOwner/XF/Pub/Controller/Post.php at line 66
  18. TickTackk\ChangeContentOwner\XF\Pub\Controller\Post->actionEdit() in src/XF/Mvc/Dispatcher.php at line 352
  19. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  20. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  21. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  22. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
  23. XF\App->run() in src/XF.php at line 524
  24. XF::runApp() in index.php at line 20
 
Seems an addon is causing it.
The same issue has been dealt with here.


 
If I add it like this it doesn't get an error
Code:
[URL unfurl="true"]https://kesenek.sgk.gov.tr/KesenekWeb/doc/Aylıksız_İzinli_Sayılan_Kamu_Personeli_GSS_Primleri.pdf[/URL]

1685713854299.webp
 
Top Bottom