Events Plugin Pro update 4.2.1 caused error with Paid Membership Pro plugin

Home Forums Calendar Products Events Calendar PRO Events Plugin Pro update 4.2.1 caused error with Paid Membership Pro plugin

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1133946
    Suzie Meier
    Participant

    After updating the Events Calendar Pro plugin to 4.2.1 it broke the profile short code on our Paid Membership Pro plugin (please see attached images of how it looks when broke, and how it should work). Here is a link to view the documentation on the short code for the membership plugin (click the Member Profile tab to see the documentation on the short code) – http://www.paidmembershipspro.com/add-ons/plus-add-ons/pmpro-member-directory/

    Thanks for your help!

    #1133952
    Suzie Meier
    Participant

    This reply is private.

    #1134180
    Hunter
    Moderator

    Hi Suzie!

    Thank you for choosing PRO and welcome to the forums 🙂

    It appears you’re running into a known issue, but I can’t guarantee the solution below will alleviate the issue. Additionally, we test our plugins on a fresh WP install using the default WP themes and no additional plugins. Any conflicts with themes/plugins are ultimately up to you to resolve. I’ve attached this thread to the logged bug report for developers to reference while working on a solution.

    Try adding the following snippet to your theme’s functions.php file and reply back with your findings. Take care and enjoy your Thursday!

    /**
    * Avoid a problem with Events Calendar PRO 4.2 which can inadvertently
    * break oembeds.
    */
    function undo_recurrence_oembed_logic() {
    if ( ! class_exists( 'Tribe__Events__Pro__Main' ) ) return;

    $pro_object = Tribe__Events__Pro__Main::instance();
    $pro_callback = array( $pro_object, 'oembed_request_post_id_for_recurring_events' );

    remove_filter( 'oembed_request_post_id', $pro_callback );
    }

    add_action( 'init', 'undo_recurrence_oembed_logic' );

    #1137597
    Geoff
    Member

    Hey there,

    We wanted to follow-up to let you know that we were able to patch this up in The Events Calendar and Events Calendar PRO 4.2.2, which are both now available to download and install if you haven’t done so already.

    Please do be sure to check out our release notes for a full overview of what’s new in the release and feel free to let us know if you run into this or any other issues after the update.

    Thanks so much for your patience while we worked on this!

    Cheers,
    Geoff

    #1143415
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Events Plugin Pro update 4.2.1 caused error with Paid Membership Pro plugin’ is closed to new replies.