XF 2.2 "This is the abstract init method for XF.Element, which should be overridden."

JoyFreak

Well-known member
I have 35 errors being displayed on the inspect console with the following "This is the abstract init method for XF.Element, which should be overridden."

No idea what's causing it and what I can do to fix it?

 
I found the culprit, it's the JavaScript that I've added to remove the member tooltip and make the username clickable once. No idea how to resolve the issue though, not experienced in JS. Here's the code:
Code:
<xf:js>
    XF.MemberTooltip = XF.Element.newHandler({
    });
    XF.Element.register('member-tooltip', 'XF.MemberTooltip');
</xf:js>
 
Top Bottom