Support

Home Forums Event Espresso Premium EE Broken Since Upgrading to WordPress 5.5

EE Broken Since Upgrading to WordPress 5.5

Posted: September 2, 2020 at 8:27 am

Viewing 10 reply threads


Daniel Jeffries

September 2, 2020 at 8:27 am

Site: opfma.net
Wordpress version: 5.5.1
EE version: 4.10.6.p
PHP version: 7.4
MySQL version: 5.6.48
Browsers attempted: Safari, Chrome, Opera
Computers/OS attempted: PC/Windows 10, Mac/Catalina 10.15.6
Theme: elegant themes Chameleon

We’ve used EE for years and I’ve never encountered an issue like this. Without any changes to our website, other than upgrading to WordPress 5.5 and EE 4.10.6.p (the most recent updates for both), we can no longer edit most things within EE > Events. I’ve disabled most plugins, re-installed EE, WP, and theme files, disabled the Promotions add-on, tried it in three browsers and two operating systems, and still can’t do anything within EE.

<b>Specific issues</b>:

  1. Clicking the time/date field does not produce a time/date selector
  2. Clicking the trash icon does not delete an event time or ticket type
  3. Clicking ‘edit’ for the event URL does not open the URL edit field
  4. Clicking the gear icon does not allow open the edit options
  5. Clicking the duplicate icon does not duplicate anything
  6. Clicking ‘Add Datetime’ does not work
  7. Clicking ‘Create Ticket’ does not work
  8. Clicking the ‘view registrations’ people icon <u>does</u> work


Tony

  • Support Staff

September 2, 2020 at 9:10 am

Hi there,

Firstly, thank you for the detailed report, the more details we have the better.

Almost all of the symptoms you’ve mentioned above use JavaScript and WP5.5 causes issues with a lot of theme/plugins using old/outdated jQuery functions, however, not EE4 itself.

What is likely happening is something else on your site is loading it’s own JavaScript on the page, that is now throwing an error which then breaks EE’s JavaScript (once a JS error has been thrown is prevents other JS from running).

If you open up Chrome Dev Tools whilst on the event editor and look in the ‘console’ section, do you see any errors there?


Daniel Jeffries

September 2, 2020 at 9:43 am

Thanks for your quick response. Here are the errors I see in the Chrome Developer Tools console:

Error Messages


Tony

  • Support Staff

September 2, 2020 at 9:55 am

Ok, so yeah that’s the problem.

A quick fix is to install and activate this plugin on the site:

https://wordpress.org/plugins/enable-jquery-migrate-helper/

WP5.5 removed the jQuery migrate script and it has caused issues like this with a lot of plugins. Activate the above and it should tell you the specific plugins that need fixing (as well as ‘fix’ the issues you have right now).

It is intended to give you some breathing room whilst the issues are fixed so is not a permanent solution.

If you have any plugin updates you’ve been holding off doing, now is the time to work through those as many plugins released updates to work with 5.5


Daniel Jeffries

September 2, 2020 at 9:59 am

Thank you!!! That fixed the issue. Does this mean that EE will be working on removing/replacing javascript functions from the plugin? I know Chrome is removing support for JS in December, so I assume all of this has something to do with JS’s security issues.


Tony

  • Support Staff

September 2, 2020 at 10:07 am

Does this mean that EE will be working on removing/replacing javascript functions from the plugin?

No, because the functions that are broken are not from EE, it’s other plugins on your site adding scripts to the editor. Those plugins need to be updated and not Event Espresso, EE4 works just fine with WP5.5

I know Chrome is removing support for JS in December, so I assume all of this has something to do with JS’s security issues.

Huh? Chrome dropping support for JavaScript in December is news to me.

May I ask where you saw that?


Daniel Jeffries

September 2, 2020 at 10:09 am

Sorry, I was thinking of Flash, not JavaScript. Sorry! Thanks again for your help.


Daniel Jeffries

September 2, 2020 at 10:12 am

The only plugin that isn’t up-to-date is the EE Promotions add-on (and that’s one of the plugins I disabled when trying to fix this issue). I can’t get it to auto-update even though EE core updates from within WP, and I can’t find an available download in my account here. My only thought is maybe I paid for it from a different EE account originally.


Tony

  • Support Staff

September 2, 2020 at 12:03 pm

The account you are posting from doesn’t have access to the promotions add-on so possibly yes.

You’ll need an active subscription to the promotions add-on to update it.

However, I’m fairly sure the promotions add-on hasn’t had any JS updates in a while (and hasn’t needed it), which version number are you using?

Does the Migrate plugin above not show you a message in the admin highlighting which scripts need to be updates?


Daniel Jeffries

September 2, 2020 at 12:11 pm

I’m using Version 1.0.6.p (current version is 1.0.15.p).

The plugin you suggested shows an error within EE occasionally:

This page generated the following warnings:
https://www.opfma.net/wp-content/plugins/event-espresso-core-reg/core/admin/assets/ee-admin-page.js: jQuery.fn.unload() is deprecated
Please make sure you are using the latest version of all of your plugins, and your theme. If you are, you may want to ask the developers of the code mentioned in the warnings for an update.


Tony

  • Support Staff

September 2, 2020 at 2:50 pm

We are aware of the above notice, that’s a function that has been deprecated in the versions in use and removed in jQuery 3.0.

As WordPress doesn’t yet ship with 3.0 the only ‘issue’ it’ll cause is the above notice.

Viewing 10 reply threads

The support post ‘EE Broken Since Upgrading to WordPress 5.5’ 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.

Event Espresso