Jump to content

Template Expression causing Emoticon Loading Error


Recommended Posts


I'm using an expression to put the members group Id into a JS variable, which is causing an issue with emoticons from loading.

I've tried pushing the value to the console rather than as a variable and I've also tried renaming the variable as well and the issue still exists, so I feel that it's the actual PHP expression which is causing the issue.

   var groupId = {expression="\IPS\Member::loggedIn()->member_group_id"};

This is the error in the console:

Uncaught TypeError: Cannot read property 'length' of undefined
    at baseController._buildEmoji (root_framework.js.1b5af06ae17ee2cabc48118aba3e1865.js.gz:951)
    at baseController.<anonymous> (root_framework.js.1b5af06ae17ee2cabc48118aba3e1865.js.gz:947)

The site is : https://yamahaclub.com/forums/

Any ideas would be most helpful.


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...