Skip to:

Comment ‘Reply’ link not working on member profiles

  • kodacollider


    I’m having trouble with the comment ‘Reply’ link not working on member profiles. The odd thing is that the exact same link does work from the activity feed page, but doesn’t on a member profile page.

    Looking at loaded script files loaded, they’re identical between the two pages except that the activity feed also calls heartbeat.js. I believe this has to do with updating the activity feed? So I don’t believe it interacts with the reply link.

    So I’m still stumped as to what isn’t working.

    I don’t get any errors in my console upon loading the page, but when clicking the comment reply link from a member profile I get:

    Uncaught TypeError: Cannot read property 'slice' of undefined
        at String.<anonymous> (jquery-scroll-to.min.js?ver=2.8.1:1)
        at Function.each (jquery.js?ver=1.12.4:2)
        at HTMLBodyElement.<anonymous> (jquery-scroll-to.min.js?ver=2.8.1:1)
        at Function.each (jquery.js?ver=1.12.4:2)
        at a.fn.init.each (jquery.js?ver=1.12.4:2)
        at a.fn.init.a.fn.scrollTo (jquery-scroll-to.min.js?ver=2.8.1:1)
        at Function.a.scrollTo (jquery-scroll-to.min.js?ver=2.8.1:1)
        at HTMLDivElement.<anonymous> (buddypress.min.js?ver=2.8.1:1)
        at HTMLDivElement.dispatch (jquery.js?ver=1.12.4:3)
        at HTMLDivElement.r.handle (jquery.js?ver=1.12.4:3)

    At first glance it seems like perhaps that error is from trying to scroll to a comment reply form that doesn’t exist?

    Any ideas on why the link works on the activity feed page but not a member profile page?


Viewing 1 replies (of 1 total)

  • kodacollider


    Clarification: It looks like the link does work on other users’ profiles, but it doesn’t work when trying to reply to a comment on a user’s own profile.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar