XF 2.2 Accessed unknown getter 'TypeHandler' on XF:Category[36]

Статус
В этой теме нельзя размещать новые ответы.
Версия XenForo
2.2.12

Markelov_Leon

Проверенные
Сообщения
35
Реакции
0
Баллы
68
Заголовок:
Код:
InvalidArgumentException: Accessed unknown getter 'TypeHandler' on XF:Category[36] src/XF/Mvc/Entity/Entity.php:213

Трассировка стека​

HTML:
#0 src/XF/Mvc/Entity/Entity.php(125): XF\Mvc\Entity\Entity->get('TypeHandler')
#1 internal_data/code_cache/templates/l3/s32/public/sf_icon_settings.php(16): XF\Mvc\Entity\Entity->offsetGet('TypeHandler')
#2 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#3 src/XF/Template/Templater.php(1681): XF\Template\Templater->renderTemplate('sf_icon_setting...', Array)
#4 internal_data/code_cache/templates/l3/s32/public/node_list_category.php(70): XF\Template\Templater->includeTemplate('public:sf_icon_...', Array)
#5 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#6 internal_data/code_cache/templates/l3/s32/public/forum_list.php(25): XF\Template\Templater->callMacro('node_list_categ...', 'depth2', Array, Array)
#7 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#8 internal_data/code_cache/templates/l3/s32/public/forum_list.php(60): XF\Template\Templater->callMacro('forum_list', 'node_list_entry', Array, Array)
#9 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#10 internal_data/code_cache/templates/l3/s32/public/node_list_category.php(42): XF\Template\Templater->callMacro('forum_list', 'node_list', Array, Array)
#11 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#12 internal_data/code_cache/templates/l3/s32/public/forum_list.php(25): XF\Template\Templater->callMacro('node_list_categ...', 'depth1', Array, Array)
#13 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#14 internal_data/code_cache/templates/l3/s32/public/forum_list.php(60): XF\Template\Templater->callMacro('forum_list', 'node_list_entry', Array, Array)
#15 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#16 internal_data/code_cache/templates/l3/s32/public/forum_list.php(220): XF\Template\Templater->callMacro('forum_list', 'node_list', Array, Array)
#17 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#18 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#19 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#20 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#21 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#24 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#25 src/XF.php(524): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}

Содержимое запроса​


HTML:
array(4) {
  ["url"] => string(1) "/"
  ["referrer"] => string(24) "https://samp-mobile.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

sf_icon_settings

Less:
<xf:if is="{{ !$node.new_icon.mb.filtersetting AND !$node.font_icon AND !$node.svg_bg|raw }} AND $template !== 'node_list_category'">
          <span class="node-icon <xf:if is="{{ $xf.options.ucn_animated }}">animated fadeInLeft</xf:if>" aria-hidden="true">
            <xf:set var="$iconName">
                <xf:if is="$node.Data.TypeHandler">
                    {$node.Data.TypeHandler.getTypeIconClass()}
                <xf:else />
                    fa-comments
            </xf:if>
</xf:set>

<xf:fa icon="{{ trim($iconName) }}" />
          </span>
      </xf:if>
    <xf:if is="{{ $node.new_icon.mb.filtersetting }}">
        <span class="node-icon" aria-hidden="true" style="width:{$xf.options.ucn_width};">
          <img src="{$node.new_icon.mb.filtersetting}" style="vertical-align:middle;" <xf:if is="{{ $xf.options.ucn_animated }}">class="animated fadeInLeft"</xf:if>>
        </span>
    </xf:if>
      <xf:if is="{{ $node.font_icon }}">
        <span class="node-icon-fix <xf:if is="{{ $xf.options.ucn_animated }}">animated fadeInLeft</xf:if>" aria-hidden="true">{{ $node.font_icon|raw }}</span>
    </xf:if>
    <xf:if is="{{ $node.svg_bg|raw }}">
      <span class="node-icon-svg icon{$node.node_id} <xf:if is="{{ $xf.options.ucn_animated }}">animated fadeInLeft</xf:if>">
            <img src="{{ $xf.options.ucn_svg_sprite|raw }}#svgView(viewBox({{ $node.svg_bg|raw }}))" alt="" style="height:{{ $xf.options.ucn_width }}; <xf:if is="{{ $xf.options.ucn_radius }}">border-radius:5px;</xf:if> margin-left:-1px;">
        </span>
    </xf:if>

Стиль: Rain

Помогите, пожалуйста
 
Статус
В этой теме нельзя размещать новые ответы.
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу