• Resolved scirceo

    (@scirceo)


    Not sure exactly when, but somewhat recently, our member area started showing weirdness, shown below. The page-load indicator (not shown) just spins and spins.

    Note that when I turned off the restriction that only members can view the list … it works. But I need that restriction, and it has worked fine for a couple years now.

    How can I fix this:

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @scirceo

    This is lokks like JS error. Could you open JS console and check JS errors.

    Regards.

    Thread Starter scirceo

    (@scirceo)

    Thank you for your response.

    This is what I see in Console:

    Uncaught Error: Template not found: #tmpl-um-member-list-302c0
    at wp-util.min.js?ver=6.6.2:2:371
    at um_build_template (um-members.min.js?ver=2.8.7:1:5841)
    at Object.success (um-members.min.js?ver=2.8.7:1:4917)
    at c (jquery.min.js?ver=3.7.1:2:25304)
    at Object.fireWith as resolveWith
    at Object. (wp-util.min.js?ver=6.6.2:2:1230)
    at c (jquery.min.js?ver=3.7.1:2:25304)
    at Object.fireWith as resolveWith
    at l (jquery.min.js?ver=3.7.1:2:77782)
    at XMLHttpRequest. (jquery.min.js?ver=3.7.1:2:80265)

    Plugin Support andrewshu

    (@andrewshu)

    I’m also having the same issues.

    0 ) { #>

    user.account_status_name

    <a href="user.profile_url" title="user.display_name"> user.avatar

    user.display_name_html

    user.hook_just_after_name

    Profiel bewerken

    user.hook_after_user_name

    user['label_Instrumentgroep']:?user['Instrumentgroep']

    user['label_Orkest']:?user['Orkest']

    Het spijt ons. We kunnen geen leden vinden die aan uw zoekcriteria voldoen.

    data.pagination.header_single 1 ) { #> data.pagination.header0 ) { #>

    <span class="pagi pagi-arrow disabled" data-page="first" aria-label="Eerste pagina">?<span class="pagi pagi-arrow disabled" data-page="prev" aria-label="Vorige pagina">?<span class="pagi current" data-page="page">page <span class="pagi pagi-arrow disabled" data-page="next" aria-label="Volgende pagina">?<span class="pagi pagi-arrow disabled" data-page="last" aria-label="Laatste pagina">

    I tried to disabled all the plugins that got updates in the last week, but it didn’t make any change. I’m using the porto theme.

    Thread Starter scirceo

    (@scirceo)

    I copied my current site to the staging site. I deactivated all plugins except UM. I switched to the Twenty Twenty-Three theme.

    Here is what I see:

    0 ) { #>

    user.account_status_name

    <a href="user.profile_url" title="user.display_name”> user.avatar

    <a href="user.profile_url" title="user.display_name”> user.display_name_html

    user.hook_just_after_name user.hook_after_user_name

    0 ) { #>



    We are sorry. We cannot find any users who match your search criteria.

    data.pagination.header_single 1 ) { #> data.pagination.header0 ) { #>

    <span class="pagi pagi-arrow disabled” data-page=”first” aria-label=”First page”> <span class="pagi pagi-arrow disabled” data-page=”prev” aria-label=”Previous page”> <span class="pagi current” data-page=”page”>page <span class="pagi pagi-arrow disabled” data-page=”next” aria-label=”Next page”> <span class="pagi pagi-arrow disabled” data-page=”last” aria-label=”Last page”>
    0 ) { #>

    user.account_status_name

    <a href="user.profile_url" title="user.display_name”> user.avatar

    <a href="user.profile_url" title="user.display_name”> user.display_name_html

    user.hook_just_after_name user.hook_after_user_name

    0 ) { #>



    We are sorry. We cannot find any users who match your search criteria.

    data.pagination.header_single 1 ) { #> data.pagination.header0 ) { #>

    <span class="pagi pagi-arrow disabled” data-page=”first” aria-label=”First page”> <span class="pagi pagi-arrow disabled” data-page=”prev” aria-label=”Previous page”> <span class="pagi current” data-page=”page”>page <span class="pagi pagi-arrow disabled” data-page=”next” aria-label=”Next page”> <span class="pagi pagi-arrow disabled” data-page=”last” aria-label=”Last page”>

    NOTE: As before, when I removed the shortcode to restrict viewing to logged in members only –[um_loggedin show_locked=”yes”] — it functions perfectly.

    NOTE: I also tried um_loggedin without the show_locked parameter, and still got the bad result.

    And this is the Console set of messages:

    Uncaught Error: Template not found: #tmpl-um-member-list-302c0
    at wp-util.min.js?ver=6.6.2:2:371
    at um_build_template (um-members.min.js?ver=2.8.7:1:5841)
    at Object.success (um-members.min.js?ver=2.8.7:1:4917)
    at c (jquery.min.js?ver=3.7.1:2:25304)
    at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.7.1:2:26053)
    at Object.<anonymous> (wp-util.min.js?ver=6.6.2:2:1230)
    at c (jquery.min.js?ver=3.7.1:2:25304)
    at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.7.1:2:26053)
    at l (jquery.min.js?ver=3.7.1:2:77782)
    at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.7.1:2:80265)Understand this error
    • This reply was modified 1 month, 2 weeks ago by scirceo.
    Thread Starter scirceo

    (@scirceo)

    I just rolled back to version 2.8.6 and it works as expected.

    I’ll keep it at 2.8.6 until y’all release a fix.

    • This reply was modified 1 month, 2 weeks ago by scirceo.

    thanks! I also rolled back to 2.8.6 and then the profile list page works. Hope they got it fixed soon.

    Plugin Support andrewshu

    (@andrewshu)

    Hello @ruuds

    Do you use the the [um_loggedin] shortcode also?

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hello @scirceo

    Please try to use this code:

    function my_um_loggedin_inner_content( $prepared_content, $content ) {
    return apply_shortcodes( UM()->shortcodes()->convert_locker_tags( wpautop( $content ) ) );
    }
    add_filter( 'um_loggedin_inner_content', 'my_um_loggedin_inner_content', 10, 2 );

    Regards.

    i’m also using the code [um_loggedin]

    Just to add in, I’m encountering the same problem. But I’m not using any particular shortcode for the access restriction. Just the member directory shortcode (e.g. [ultimatemember form_id=”18692″]).

    I do use the Ultimate Member: Content Restriction box when editing the page. But even when I don’t impose any access restriction, the same error occurs. I didn’t keep a copy of 2.8.6 so there’s no easy way to rollback. But the problem only started a few months ago and seems to coincide with one of the recent updates. Adding the filter above didn’t work as well. Any quick fix to this?

    Uncaught Error: Template not found: #tmpl-um-member-list-e2acd
    at wp-util.min.js?ver=6.6.2:2:371
    at um_build_template (um-members.min.js?ver=2.8.8:1:5841)
    at Object.success (um-members.min.js?ver=2.8.8:1:4917)
    at c (jquery.min.js?ver=3.7.1:2:25304)
    at Object.fireWith as resolveWith
    at Object. (wp-util.min.js?ver=6.6.2:2:1230)
    at c (jquery.min.js?ver=3.7.1:2:25304)
    at Object.fireWith as resolveWith
    at l (jquery.min.js?ver=3.7.1:2:77782)
    at XMLHttpRequest. (jquery.min.js?ver=3.7.1:2:80265)

    Thread Starter scirceo

    (@scirceo)

    Hello @andrewshu

    I added that code to my functions.php file and it worked to fix the problem on the Member List page on my staging site with the latest version of UM, which is now version 2.8.8. (Please note that I tried this version earlier today without the code you posted above, and the Member List page was not fixed.)

    I have not yet checked whether other problems have arisen because of it, but I can confirm that the Member List issue I originally posted about appears to be fixed with the added code. Thank you.

    Thread Starter scirceo

    (@scirceo)

    Hello @andrewshu

    I have added the code you provided to our production site, updated to UM version 2.8.8, and it works fine, no anomalies noted. If I see something that does not look as expected, I’ll post it here.

    Thank you for your assistance.

    • This reply was modified 1 month, 2 weeks ago by scirceo.

    @andrewshu

    Came here to post a bug report for the exact same issue. I have a um_loggedin short code that obfuscated some elements, as of updating to 2.8.8 this morning all elements inside of that short code showed as plain text.

    The code snippet you provided and listed below brought the page back to functioning on the newest version. I’m reverting the update for now to avoid adding a “temporary” work around that we’ll forget about in 2 months and still be there in 3 years.

    Can we get a confirmation that this is being looked into and will be fixed in a future patch?

    function my_um_loggedin_inner_content( $prepared_content, $content ) {
    return apply_shortcodes( UM()->shortcodes()->convert_locker_tags( wpautop( $content ) ) );
    }
    add_filter( 'um_loggedin_inner_content', 'my_um_loggedin_inner_content', 10, 2 );
    Plugin Support andrewshu

    (@andrewshu)

    Hi @scirceo

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.