• Resolved AtticThemes

    (@atticthemes)


    Couldn’t find the exact lines that cause this issue, but I am sure it’s the library, as it stopped showing the error when it was removed from the theme.

    Also it shows WARNING messages (see the screenshot)

    It seems the issue is caused by the library using an “_” as a property of a class. It is not a function rather an array, but as I understand Theme Check runs this through “$rules” and thinks it found a translation function, but it can’t find the arguments, as this is not a function Theme Check expects it to be.

    I know its kinda nasty to use just an “_” as a property, but I think Theme Check should consider this scenario as well, as this is not the only library out there that might be using “_” as a property or a method of a class.

    I might be getting something wrong, if so, it would be great if someone can shed some light on this.

    Thanks,
    Cheers

    https://ww.wp.xz.cn/plugins/theme-check/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Undefined offset: 2 \textdomain.php on line 82 with PHP Simple HTML DOM Parser’ is closed to new replies.