I was asked to upgrade my PHP version and the plugin Event Espresso to version 4.1.40.p and after that was done, now the Event Espresso tool is not working, we are only getting this: Video
Let me know if you need to have an admin account or what.
// Load 'Working' jQuery
add_action( 'init', 'jquery_register' );
// register from google and for footer
function jquery_register() {
if ( is_admin() )
return;
wp_deregister_script('jquery');
wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js", false, null);
wp_enqueue_script('jquery');
}
Which sits in your Theme’s functions.php file.
That code is replacing the version of jQuery in use on the site with a different version (now an older version), which then causes issues with the calendar. I can’t explain why you’ve only run into issues with that code as doing the above has been discouraged for a long time now, for example, this blog entry from 2013:
I’ve commented out the add_action() line from the above and the calendar now functions on your site, however, you may find you’ll need other custom Javascript on your site will need to be updated to function correctly which will need the help of a developer.
THis isn’t an issue with EE or the Calendar per se, its outdated code in use on the site which should be updated correctly.
The support post ‘Event Expresso asked me to upgrade PHP to version 8.0 and it is not working now’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.