• Resolved muzzy92

    (@muzzy92)


    I’m getting the following error on the members list page. This was working fine before the latest plugin/wordpress update. There’s no caching plugin, and clearing browser cache doesn’t do anything.

    Uncaught TypeError: Cannot read property ‘replace’ of undefined
    at Function.v.template (underscore.min.js?ver=1.8.3:1)
    at wp-util.min.js?ver=5.3.1:1
    at um_build_template (um-members.min.js?ver=2.1.2:1)
    at Object.success (um-members.min.js?ver=2.1.2:1)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Object.<anonymous> (wp-util.min.js?ver=5.3.1:1)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at x (jquery.js?ver=1.12.4-wp:4)

    Any help?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @muzzy92,

    This may be because of a plugin/theme conflict. Can you do a conflict test and see if the issue goes away? This doc explains how to do a conflict test if you are not sure: How to do a plugin/theme conflict test?

    Regards,

    Thread Starter muzzy92

    (@muzzy92)

    Hi @champsupertramp,

    I’m barely using any plugins and it’s a custom theme. The problem persists after deactivating other plugins. I still had the localhost version running where everything worked fine, and when I did the plugin-update tot 2.12 it stopped showing the members list/search function. I’m pretty sure that’s where the problem is at. I’ll try reverting back to the previous version of Ultimate Member.

    Any ideas what might be going on here?

    Edit: just checking, does

    foreach ( um_members( 'users_per_page' ) as $member ) {
    }
    

    no longer work with the latest update?

    • This reply was modified 6 years, 7 months ago by muzzy92.
    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @muzzy92

    Ultimate Member Directory is already in full ajax functionality.

    Please see: https://docs.ultimatemember.com/article/1513-member-directories-2-1-0

    Regards,

    Hi! I also have this problem! Did the conflict test. It turns out that i have a conflict with the (custom) theme.

    So now i know this. But how to fix this?

    We’re having the same problem, our custom Member Directory Template has a fatal error due to

    foreach ( um_members( 'users_per_page' ) as $member ) {
    }
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Member list not working after update’ is closed to new replies.