starter80
Проверенные
- Сообщения
- 607
- Решения
- 2
- Реакции
- 120
- Баллы
- 745
6.1. Не создавайте темы с малопонятным содержанием.
Журнал ошибок сервера
TypeError: Macro public:post_macros :: post_action_bar() error: Argument 1 passed to XF\Entity\User::canStartConversationWith() must be an instance of XF\Entity\User, null given, called in /var/www/mysite_ru/data/www/mysite.ru/src/XF/Template/Templater.php on line 1191
src/XF/Entity/User.php:922
Содержимое запроса
TypeError: Macro public:post_macros :: post_action_bar() error: Argument 1 passed to XF\Entity\User::canStartConversationWith() must be an instance of XF\Entity\User, null given, called in /var/www/mysite_ru/data/www/mysite.ru/src/XF/Template/Templater.php on line 1191
src/XF/Entity/User.php:922
Код:
#0 src/XF/Template/Templater.php(1191): XF\Entity\User->canStartConversationWith(NULL)
#1 internal_data/code_cache/templates/l11/s25/public/post_macros.php(688): XF\Template\Templater->method(Object(MMO\Hide\XF\Entity\User), 'canStartConvers...', Array)
#2 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#3 internal_data/code_cache/templates/l11/s25/public/post_macros.php(569): XF\Template\Templater->callMacro('post_macros', 'post_action_bar', Array, Array)
#4 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#5 internal_data/code_cache/templates/l11/s25/public/post_macros.php(106): XF\Template\Templater->callMacro('post_macros', 'post_footer', Array, Array)
#6 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#7 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('footer', Array, Array, Object(XF\Template\ExtensionSet))
#8 internal_data/code_cache/templates/l11/s25/public/post_macros.php(125): XF\Template\Templater->renderExtension('footer', Array, Object(XF\Template\ExtensionSet))
#9 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#10 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('main_cell_inner', Array, Array, Object(XF\Template\ExtensionSet))
#11 internal_data/code_cache/templates/l11/s25/public/post_macros.php(136): XF\Template\Templater->renderExtension('main_cell_inner', Array, Object(XF\Template\ExtensionSet))
#12 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#13 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('main_cell', Array, Array, Object(XF\Template\ExtensionSet))
#14 internal_data/code_cache/templates/l11/s25/public/post_macros.php(154): XF\Template\Templater->renderExtension('main_cell', Array, Object(XF\Template\ExtensionSet))
#15 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#16 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#17 internal_data/code_cache/templates/l11/s25/public/post_macros.php(201): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#18 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#19 internal_data/code_cache/templates/l11/s25/public/thread_view.php(825): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#20 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#21 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#22 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#23 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#24 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#25 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#26 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#27 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#28 src/XF.php(524): XF\App->run()
#29 index.php(20): XF::runApp('XF\\Pub\\App')
#30 {main}
Содержимое запроса
Код:
array(4) {
["url"] => string(19) "/threads/282/page-8"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}}
Последнее редактирование модератором: