XF 2.2 Ошибка при выдаче предупреждения пользователю

Версия XenForo
2.2.13

ferz22

Проверенные
Сообщения
50
Реакции
10
Баллы
705
Добрый день.

Возникла ошибка при попытке выдать предупреждение пользователю:

Код:
TypeError: Argument 1 passed to XF\Util\Url::urlToUtf8() must be of the type string, null given, called in /var/www/site.ru/data/www/site.ru/src/XF/BbCode/ProcessorAction/AutoLink.php on line 430 in src/XF/Util/Url.php at line 50

    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/XF/Service/Conversation/MessageManager.php at line 37
    XF\Service\Conversation\MessageManager->setMessage() in src/XF/Service/Conversation/Creator.php at line 147
    XF\Service\Conversation\Creator->setContent() in src/XF/Service/User/Warn.php at line 198
    XF\Service\User\Warn->setupConversation() in src/XF/Service/User/Warn.php at line 207
    XF\Service\User\Warn->sendConversation() in src/XF/Service/User/Warn.php at line 178
    XF\Service\User\Warn->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
    XF\Service\User\Warn->save() in src/XF/ControllerPlugin/Warn.php at line 43
    XF\ControllerPlugin\Warn->actionWarn() in src/XF/Pub/Controller/Post.php at line 492
    XF\Pub\Controller\Post->actionWarn() 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


Подскажите, пожалуйста, в чем проблема?

Спасибо!
 
Добрый день.

Возникла ошибка при попытке выдать предупреждение пользователю:

Код:
TypeError: Argument 1 passed to XF\Util\Url::urlToUtf8() must be of the type string, null given, called in /var/www/site.ru/data/www/site.ru/src/XF/BbCode/ProcessorAction/AutoLink.php on line 430 in src/XF/Util/Url.php at line 50

    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/XF/Service/Conversation/MessageManager.php at line 37
    XF\Service\Conversation\MessageManager->setMessage() in src/XF/Service/Conversation/Creator.php at line 147
    XF\Service\Conversation\Creator->setContent() in src/XF/Service/User/Warn.php at line 198
    XF\Service\User\Warn->setupConversation() in src/XF/Service/User/Warn.php at line 207
    XF\Service\User\Warn->sendConversation() in src/XF/Service/User/Warn.php at line 178
    XF\Service\User\Warn->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
    XF\Service\User\Warn->save() in src/XF/ControllerPlugin/Warn.php at line 43
    XF\ControllerPlugin\Warn->actionWarn() in src/XF/Pub/Controller/Post.php at line 492
    XF\Pub\Controller\Post->actionWarn() 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


Подскажите, пожалуйста, в чем проблема?

Спасибо!
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу