• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 Error Template public:_help_page_bb_codes: Accessed unknown getter 'description' on XF:BbCode[fa] (src\XF\Mvc\Entity\Entity.php:181)

XenConcept

Formerly Rémi C
#1
PHP:
public static function parse($tagChildren, $tagOption, $tag, array $options, \XF\BbCode\Renderer\AbstractRenderer $renderer)
    {

        $text = reset($tag['children']);
        $text = trim($text);

        if (empty($text))
        {
            return '';
        }

        if (substr($text, 0, 3) == 'fa-')
        {
            $text = substr($text, 3);
        }

        $params = [

            'icon' => $text

        ];

        return \XF::app()->templater()->renderTemplate('public:rd_bb_code_fontawesome', $params);
    }
Hello,
On the page : http://localhost/admin.php?bb-codes/ I obey this error

Code:
Template errors

    Template public:_help_page_bb_codes: Accessed unknown getter 'description' on XF:BbCode[fa] (src\XF\Mvc\Entity\Entity.php:181)
Code php :