Call to undefined function tribe_main_pue_helper()

Home Forums Calendar Products Events Calendar PRO Call to undefined function tribe_main_pue_helper()

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1283307
    Danial Bleile
    Participant

    From Tribe_ECP_Load:


    if ( ! is_admin() && ! class_exists( 'Tribe__Events__Pro__PUE__Helper' ) ) {
    tribe_main_pue_helper();
    }

    If you have The Events Calendar Pro activated without Events Calendar activated, a fatal error occurs and the front end of the site will not load because this tribe_main_pue_helper function does not exist in either plugin.

    #1283957
    Shelby
    Participant

    Hi Jeremy,

    Happy to help out here!

    Please download your copy of the plugin from your dashboard in our site, and only install it according to the number of licenses you have. This should solve the issue. πŸ™‚ The PUE helper function is one that ties license keys to each plugin copy.

    Let me know if you’ve done that and are still having trouble. πŸ™‚

    Best,

    Shelby πŸ™‚

    #1283980
    Danial Bleile
    Participant

    Hi Shelby,

    I followed your suggestion and downloaded both the free The Events Calendar and paid Events Calendar Pro plugins from the dashboard. There are no changes in the files from what I had previously. The function tribe_main_pue_helper does not exist in the code base and the call to it causes a fatal error.

    We have an unlimited license for Events Calendar Pro, so I’m adding the key through a filter and don’t have every one of our domains added in my dashboard. I don’t believe this should matter as there doesn’t appear to be anything that downloads extra code for this function to exist.

    To fix this in production, I’ve patched the Events Calendar Pro plugin to remove this block of code.

    #1284165
    Shelby
    Participant

    Hi there Jeremy,

    I’m going to do some more testing on this issue, and reach out to my colleagues if I’m unable to replicate the error.

    In the meantime, would you please work through the steps here to test for a conflict, and flush the site’s cache if it’s enabled? This will help meΒ rule out a couple of things. πŸ™‚

    Best,

    Shelby πŸ™‚

    #1284407
    Danial Bleile
    Participant

    Hi Shelby,

    I setup a new WordPress installation and activated only Events Calendar Pro. The admin works fine, the front end shows a fatal error:

    
    Fatal error: Uncaught Error: Call to undefined function tribe_main_pue_helper() in /srv/www/wordpress-develop/public_html/src/wp-content/plugins/events-calendar-pro/events-calendar-pro.php:41 Stack trace: #0 /srv/www/wordpress-develop/public_html/src/wp-includes/class-wp-hook.php(298): Tribe_ECP_Load('') #1 /srv/www/wordpress-develop/public_html/src/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /srv/www/wordpress-develop/public_html/src/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /srv/www/wordpress-develop/public_html/src/wp-settings.php(325): do_action('plugins_loaded') #4 /srv/www/wordpress-develop/public_html/src/wp-config.php(89): require_once('/srv/www/wordpr...') #5 /srv/www/wordpress-develop/public_html/src/wp-load.php(37): require_once('/srv/www/wordpr...') #6 /srv/www/wordpress-develop/public_html/src/wp-blog-header.php(13): require_once('/srv/www/wordpr...') #7 /srv/www/wordpress-develop/public_html/src/index.php(17): require('/srv/www/wordpr...') #8 {main} thrown in /srv/www/wordpress-develop/public_html/src/wp-content/plugins/events-calendar-pro/events-calendar-pro.php on line 41
    

    I noticed the same block of code in Community Events, but it does not appear to cause the same issue.

    #1285599
    Shelby
    Participant

    Hi Jeremy,

    I just checked in with our team, and have been informed that this was fixed in our release yesterday. Please update, clear your cache, and let me know if you’re still experiencing this. πŸ™‚

    Best,

    Shelby πŸ™‚

    #1287297
    Danial Bleile
    Participant

    Hi Shelby,

    It looks like the updates for Events Calendar Pro and Community Events took care of this.

    Thanks for the help!

    #1289215
    Shelby
    Participant

    Hey there Jeremy,

    Apologies for the delay, but I had intended to drop a line just to say that I’m glad this worked for you!

    Please feel free to reach out with any questions you have in the future. πŸ™‚

    Best,

    Shelby πŸ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Call to undefined function tribe_main_pue_helper()’ is closed to new replies.