6.1. Не создавайте темы с малопонятным содержанием.
Журнал ошибок сервера, может кто знает в чем может быть причина?
Таких ошибок накопилось очень много, около 260 тыс))
Код:
ErrorException: Template error: [E_WARNING] Illegal string offset 'width' internal_data/code_cache/templates/l8/s1/public/lightbox_macros.php:87
Сгенерирована пользователем: deathspike 13 Мар 2021 в 18:41
Трассировка стека
#0 internal_data/code_cache/templates/l8/s1/public/lightbox_macros.php(87): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Ill...', '/var/www/minkai...', 87, Array)
#1 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#2 internal_data/code_cache/templates/l8/s1/public/bb_code_tag_attach.php(62): XF\Template\Templater->callMacro('lightbox_macros', 'single_image', Array, Array)
#3 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#4 src/XF/BbCode/Renderer/Html.php(516): XF\Template\Templater->renderTemplate('bb_code_tag_att...', Array)
#5 src/XF/BbCode/Renderer/Html.php(511): XF\BbCode\Renderer\Html->getRenderedAttachment(Object(XF\Entity\Attachment), Array)
#6 [internal function]: XF\BbCode\Renderer\Html->renderTagAttach(Array, Array, Array, Array, Object(XF\BbCode\Renderer\Html))
#7 src/XF/BbCode/Renderer/Html.php(308): call_user_func(Array, Array, Array, Array, Array, Object(XF\BbCode\Renderer\Html))
#8 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#9 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#10 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(XF\BbCode\RuleSet), Array)
#11 src/XF/SubContainer/BbCode.php(220): XF\BbCode\Traverser->render('[QUOTE="kif06, ...', Object(XF\BbCode\Parser), Object(XF\BbCode\RuleSet), Array)
#12 src/XF/Template/Templater.php(2343): XF\SubContainer\BbCode->render('[QUOTE="kif06, ...', 'html', 'post', Object(XF\Entity\Post), Array)
#13 [internal function]: XF\Template\Templater->fnBbCode(Object(xenMade\SEo\XF\Template\Templater), false, '[QUOTE="kif06, ...', 'post', Object(XF\Entity\Post))
#14 src/XF/Template/Templater.php(1103): call_user_func_array(Array, Array)
#15 internal_data/code_cache/templates/l8/s1/public/post_macros.php(440): XF\Template\Templater->func('bb_code', Array, false)
#16 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#17 internal_data/code_cache/templates/l8/s1/public/post_macros.php(62): XF\Template\Templater->callMacro('post_macros', 'post_user_conte...', Array, Array)
#18 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#19 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('user_content', Array, Array, Object(XF\Template\ExtensionSet))
#20 internal_data/code_cache/templates/l8/s1/public/post_macros.php(99): XF\Template\Templater->renderExtension('user_content', Array, Object(XF\Template\ExtensionSet))
#21 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#22 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('content', Array, Array, Object(XF\Template\ExtensionSet))
#23 internal_data/code_cache/templates/l8/s1/public/post_macros.php(128): XF\Template\Templater->renderExtension('content', Array, Object(XF\Template\ExtensionSet))
#24 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#25 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('main_cell_inner', Array, Array, Object(XF\Template\ExtensionSet))
#26 internal_data/code_cache/templates/l8/s1/public/post_macros.php(142): XF\Template\Templater->renderExtension('main_cell_inner', Array, Object(XF\Template\ExtensionSet))
#27 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#28 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('main_cell', Array, Array, Object(XF\Template\ExtensionSet))
#29 internal_data/code_cache/templates/l8/s1/public/post_macros.php(154): XF\Template\Templater->renderExtension('main_cell', Array, Object(XF\Template\ExtensionSet))
#30 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#31 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#32 internal_data/code_cache/templates/l8/s1/public/post_macros.php(184): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#33 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#34 internal_data/code_cache/templates/l8/s1/public/thread_view.php(866): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#35 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#36 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#37 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#38 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#39 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#40 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#41 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#42 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#43 src/XF.php(488): XF\App->run()
#44 index.php(20): XF::runApp('XF\\Pub\\App')
#45 {main}
Содержимое запроса
array(4) {
["url"] => string(57) "/threads/delimsja-pribylnymi-strelochnikami.4605/page-251"
["referrer"] => string(81) "https://binary-forum.com/threads/delimsja-pribylnymi-strelochnikami.4605/page-252"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Код:
ErrorException: Template error: [E_WARNING] Illegal string offset 'Data' internal_data/code_cache/templates/l8/s1/public/lightbox_macros.php:87
Сгенерирована пользователем: deathspike 13 Мар 2021 в 18:41
Трассировка стека
#0 internal_data/code_cache/templates/l8/s1/public/lightbox_macros.php(87): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Ill...', '/var/www/minkai...', 87, Array)
#1 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#2 internal_data/code_cache/templates/l8/s1/public/bb_code_tag_attach.php(62): XF\Template\Templater->callMacro('lightbox_macros', 'single_image', Array, Array)
#3 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#4 src/XF/BbCode/Renderer/Html.php(516): XF\Template\Templater->renderTemplate('bb_code_tag_att...', Array)
#5 src/XF/BbCode/Renderer/Html.php(511): XF\BbCode\Renderer\Html->getRenderedAttachment(Object(XF\Entity\Attachment), Array)
#6 [internal function]: XF\BbCode\Renderer\Html->renderTagAttach(Array, Array, Array, Array, Object(XF\BbCode\Renderer\Html))
#7 src/XF/BbCode/Renderer/Html.php(308): call_user_func(Array, Array, Array, Array, Array, Object(XF\BbCode\Renderer\Html))
#8 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#9 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#10 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(XF\BbCode\RuleSet), Array)
#11 src/XF/SubContainer/BbCode.php(220): XF\BbCode\Traverser->render('[QUOTE="kif06, ...', Object(XF\BbCode\Parser), Object(XF\BbCode\RuleSet), Array)
#12 src/XF/Template/Templater.php(2343): XF\SubContainer\BbCode->render('[QUOTE="kif06, ...', 'html', 'post', Object(XF\Entity\Post), Array)
#13 [internal function]: XF\Template\Templater->fnBbCode(Object(xenMade\SEo\XF\Template\Templater), false, '[QUOTE="kif06, ...', 'post', Object(XF\Entity\Post))
#14 src/XF/Template/Templater.php(1103): call_user_func_array(Array, Array)
#15 internal_data/code_cache/templates/l8/s1/public/post_macros.php(440): XF\Template\Templater->func('bb_code', Array, false)
#16 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#17 internal_data/code_cache/templates/l8/s1/public/post_macros.php(62): XF\Template\Templater->callMacro('post_macros', 'post_user_conte...', Array, Array)
#18 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#19 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('user_content', Array, Array, Object(XF\Template\ExtensionSet))
#20 internal_data/code_cache/templates/l8/s1/public/post_macros.php(99): XF\Template\Templater->renderExtension('user_content', Array, Object(XF\Template\ExtensionSet))
#21 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#22 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('content', Array, Array, Object(XF\Template\ExtensionSet))
#23 internal_data/code_cache/templates/l8/s1/public/post_macros.php(128): XF\Template\Templater->renderExtension('content', Array, Object(XF\Template\ExtensionSet))
#24 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#25 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('main_cell_inner', Array, Array, Object(XF\Template\ExtensionSet))
#26 internal_data/code_cache/templates/l8/s1/public/post_macros.php(142): XF\Template\Templater->renderExtension('main_cell_inner', Array, Object(XF\Template\ExtensionSet))
#27 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#28 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('main_cell', Array, Array, Object(XF\Template\ExtensionSet))
#29 internal_data/code_cache/templates/l8/s1/public/post_macros.php(154): XF\Template\Templater->renderExtension('main_cell', Array, Object(XF\Template\ExtensionSet))
#30 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#31 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#32 internal_data/code_cache/templates/l8/s1/public/post_macros.php(184): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#33 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#34 internal_data/code_cache/templates/l8/s1/public/thread_view.php(866): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#35 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#36 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#37 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#38 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#39 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#40 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#41 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#42 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#43 src/XF.php(488): XF\App->run()
#44 index.php(20): XF::runApp('XF\\Pub\\App')
#45 {main}
Содержимое запроса
array(4) {
["url"] => string(57) "/threads/delimsja-pribylnymi-strelochnikami.4605/page-251"
["referrer"] => string(81) "https://binary-forum.com/threads/delimsja-pribylnymi-strelochnikami.4605/page-252"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Код:
ErrorException: Template error: [E_WARNING] Illegal string offset 'height' internal_data/code_cache/templates/l8/s1/public/lightbox_macros.php:87
Сгенерирована пользователем: deathspike 13 Мар 2021 в 18:41
Трассировка стека
#0 internal_data/code_cache/templates/l8/s1/public/lightbox_macros.php(87): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Ill...', '/var/www/minkai...', 87, Array)
#1 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#2 internal_data/code_cache/templates/l8/s1/public/bb_code_tag_attach.php(62): XF\Template\Templater->callMacro('lightbox_macros', 'single_image', Array, Array)
#3 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#4 src/XF/BbCode/Renderer/Html.php(516): XF\Template\Templater->renderTemplate('bb_code_tag_att...', Array)
#5 src/XF/BbCode/Renderer/Html.php(511): XF\BbCode\Renderer\Html->getRenderedAttachment(Object(XF\Entity\Attachment), Array)
#6 [internal function]: XF\BbCode\Renderer\Html->renderTagAttach(Array, Array, Array, Array, Object(XF\BbCode\Renderer\Html))
#7 src/XF/BbCode/Renderer/Html.php(308): call_user_func(Array, Array, Array, Array, Array, Object(XF\BbCode\Renderer\Html))
#8 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#9 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#10 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(XF\BbCode\RuleSet), Array)
#11 src/XF/SubContainer/BbCode.php(220): XF\BbCode\Traverser->render('[QUOTE="kif06, ...', Object(XF\BbCode\Parser), Object(XF\BbCode\RuleSet), Array)
#12 src/XF/Template/Templater.php(2343): XF\SubContainer\BbCode->render('[QUOTE="kif06, ...', 'html', 'post', Object(XF\Entity\Post), Array)
#13 [internal function]: XF\Template\Templater->fnBbCode(Object(xenMade\SEo\XF\Template\Templater), false, '[QUOTE="kif06, ...', 'post', Object(XF\Entity\Post))
#14 src/XF/Template/Templater.php(1103): call_user_func_array(Array, Array)
#15 internal_data/code_cache/templates/l8/s1/public/post_macros.php(440): XF\Template\Templater->func('bb_code', Array, false)
#16 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, NULL)
#17 internal_data/code_cache/templates/l8/s1/public/post_macros.php(62): XF\Template\Templater->callMacro('post_macros', 'post_user_conte...', Array, Array)
#18 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#19 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('user_content', Array, Array, Object(XF\Template\ExtensionSet))
#20 internal_data/code_cache/templates/l8/s1/public/post_macros.php(99): XF\Template\Templater->renderExtension('user_content', Array, Object(XF\Template\ExtensionSet))
#21 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#22 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('content', Array, Array, Object(XF\Template\ExtensionSet))
#23 internal_data/code_cache/templates/l8/s1/public/post_macros.php(128): XF\Template\Templater->renderExtension('content', Array, Object(XF\Template\ExtensionSet))
#24 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#25 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('main_cell_inner', Array, Array, Object(XF\Template\ExtensionSet))
#26 internal_data/code_cache/templates/l8/s1/public/post_macros.php(142): XF\Template\Templater->renderExtension('main_cell_inner', Array, Object(XF\Template\ExtensionSet))
#27 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#28 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('main_cell', Array, Array, Object(XF\Template\ExtensionSet))
#29 internal_data/code_cache/templates/l8/s1/public/post_macros.php(154): XF\Template\Templater->renderExtension('main_cell', Array, Object(XF\Template\ExtensionSet))
#30 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#31 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#32 internal_data/code_cache/templates/l8/s1/public/post_macros.php(184): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#33 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#34 internal_data/code_cache/templates/l8/s1/public/thread_view.php(866): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#35 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(xenMade\SEo\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#36 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#37 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#38 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#39 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#40 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#41 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#42 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#43 src/XF.php(488): XF\App->run()
#44 index.php(20): XF::runApp('XF\\Pub\\App')
#45 {main}
Содержимое запроса
array(4) {
["url"] => string(57) "/threads/delimsja-pribylnymi-strelochnikami.4605/page-251"
["referrer"] => string(81) "https://binary-forum.com/threads/delimsja-pribylnymi-strelochnikami.4605/page-252"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Таких ошибок накопилось очень много, около 260 тыс))