Forum Replies Created
-
AuthorPosts
-
Danial Bleile
ParticipantHi Shelby,
It looks like the updates for Events Calendar Pro and Community Events took care of this.
Thanks for the help!
Danial Bleile
ParticipantHi 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 41I noticed the same block of code in Community Events, but it does not appear to cause the same issue.
Danial Bleile
ParticipantHi 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.
February 14, 2017 at 11:52 am in reply to: PHP Error – explode() expects parameter 2 to be string, array given #1234765Danial Bleile
ParticipantSounds good, thanks George and Brook.
February 14, 2017 at 11:52 am in reply to: Possible Uncaught TypeError introduced in Community Events 4.4.1 #1234763Danial Bleile
ParticipantThis reply is private.
Danial Bleile
ParticipantHi Brian,
I haven’t explored how to replicate the issue, I only saw the notice in the PHP logs. I did verify that the class name is spelled incorrectly in Events Calendar Pro, however.
Cheers,
– Jeremy -
AuthorPosts
