Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter kEs

    (@kesly13)

    Can anyone help me please how to fix this? We are launching the membership site tomorrow. Thank you..

    Plugin Author Andrew Lima

    (@andrewza)

    Hi @kesly13

    Thank you for using Paid Memberships Pro. I see this ticket is resolved, this is just a friendly follow up to see if you are still experiencing this issue?

    Please let me know if you are and I’d gladly look into this further for you.

    Thread Starter kEs

    (@kesly13)

    Thank you for getting back to me. Yes, I just replaced the whole line with the default code from another source and it worked. What could be the cause? It was a refreshed installation.

    Thread Starter kEs

    (@kesly13)

    Hi, just checking in again as the error comes back.. please help how to resolve.
    https://prnt.sc/12kz7mz

    Plugin Author Andrew Lima

    (@andrewza)

    I’m sorry to hear you are still having issues with this @kesly13, what version of Paid Memberships Pro are you using?

    I’d like to look into this further and try recreate this issue on my end.

    Thread Starter kEs

    (@kesly13)

    It’s Paid Memberships Pro Version 2.5.9. Some main active plugins:

    • BuddyBoss Platform Pro
    • Divi Builder
    • LearnDash LMS
    • SG Optimizer
    • Uncanny Toolkit for LearnDash

    All are latest versions.

    Plugin Author Andrew Lima

    (@andrewza)

    Thanks for the feedback @kesly13, I hope you had a great weekend.

    I am working on troubleshooting this on my end and investigating it further. I’ll revert back as soon as I can – thank you for your patience.

    Thread Starter kEs

    (@kesly13)

    Thank you so much @andrewza .. I’ll wait for your update..

    I am using BuddyBoss theme.

    Thread Starter kEs

    (@kesly13)

    Hi @andrewza any update on this? The issue still persist https://prnt.sc/12uiq5b this is the code in that line https://prnt.sc/12uj0n8

    Another one I noticed, the one with error is Paid Membership Pro Version 2.5.9.1 while the old one that I am copying the lines and temporary working is Version 2.5.7

    I hope this helps for you to troubleshoot the issue.

    • This reply was modified 3 years, 10 months ago by kEs. Reason: added screenshot
    • This reply was modified 3 years, 10 months ago by kEs. Reason: added plugin versions
    Plugin Author Andrew Lima

    (@andrewza)

    I haven’t been able to reproduce this error on my end using Paid Memberships Pro V2.5.9.1 and BuddyBoss. I am still working to try and replicate this issue, do you have any other Paid Memberships Pro Add Ons installed?

    Plugin Author Andrew Lima

    (@andrewza)

    I also recommend in turning WP_DEBUG to false to prevent this from being displayed on the frontend to users. I am debugging around line 151 of the content.php file.

    Plugin Author Andrew Lima

    (@andrewza)

    Here is a code fix that should be released in the next update for Paid Memberships Pro – https://github.com/strangerstudios/paid-memberships-pro/pull/1656/

    Looking through this deeper, it seems that your $pmpro_pages is never set (I’m not sure if all pages are set or only some are set in your setup).

    I haven’t been able to replicate this on my end but this code change should fix your issue.

    Thread Starter kEs

    (@kesly13)

    I got this error when I replaced the code with the one you juts provided https://prnt.sc/12vrfua

    Also pages are set ever since https://prnt.sc/12vric0

    No other Addons installed except the LearnDash LMS – Paid Memberships Pro.

    Only 13 plugins installed https://prnt.sc/12vrltk

    Plugin Author Andrew Lima

    (@andrewza)

    Thanks for the feedback, looking at your first screenshot it seems you copied the code over incorrectly.

    You need to set your if statement on line 150 to if( empty( $query->query_vars['post_parent'] ) && is_array( $pmpro_pages ) ) { and not within it.

    I hope this makes sense.

    Thread Starter kEs

    (@kesly13)

    Oops! my bad.. fixed. thank you for your assistance.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Warning on BuddyBoss pages’ is closed to new replies.