Support

Home Forums Event Espresso Premium Event Espresso Error causing White Screen in backend of WordPress site

Event Espresso Error causing White Screen in backend of WordPress site

Posted: November 20, 2023 at 9:48 pm

Viewing 7 reply threads


Willow

November 20, 2023 at 9:48 pm

Hi All, I had to deactivate Event Espresso in my wordpress site as I got the “white screen of death” in the WordPress admin.

The error details are below, and wordpress said to contact you to troubleshoot this.

Many thanks, Willow

Error Details
=============
An error of type E_ERROR was caused in line 317 of the file /home/customer/www/reverenceevents.com.au/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php. Error message: Uncaught TypeError: Argument 2 passed to EE_Capabilities::map_meta_caps() must be of the type string, null given, called in /home/customer/www/reverenceevents.com.au/public_html/wp-includes/class-wp-hook.php on line 324 and defined in /home/customer/www/reverenceevents.com.au/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php:317
Stack trace:
#0 /home/customer/www/reverenceevents.com.au/public_html/wp-includes/class-wp-hook.php(324): EE_Capabilities->map_meta_caps(Array, NULL, 1, Array)
#1 /home/customer/www/reverenceevents.com.au/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#2 /home/customer/www/reverenceevents.com.au/public_html/wp-includes/capabilities.php(842): apply_filters(‘map_meta_cap’, Array, NULL, 1, Array)
#3 /home/customer/www/reverenceevents.com.au/public_html/wp-includes/class-wp-user.php(777): map_meta_cap(NULL, 1)
#4 /home/customer/www/reverenceevents.com.au/public_html/wp-includes/capabilities.php(985): WP_User->has_cap(NULL)


Rio

  • Support Staff

November 20, 2023 at 10:19 pm

Can you tell us what was the last thing you did on your site? did you just installed new plugin? theme or customize code?

lets start troubleshooting on the plugin conflict.

You can use https://wordpress.org/plugins/health-check/ or any similar plugin.

You can do the above using Troubleshooting mode:

Tools -> Site Health -> Troubleshooting -> Enabled Troubleshooting mode.

That will disable all plugins and switch to a default theme and then allow you to enable specific plugins whilst in troubleshooting mode. Once disabled you will revert back to the current state. You can also test your theme using that plugin.

Let me know what you find out.

thanks


Willow

November 21, 2023 at 1:39 am

Hi Rio, Just the automatic updates – elementor and wordpress updated versions. I will also follow the plugin conflict as suggested. Kind regards, Willow


Tony

  • Support Staff

November 21, 2023 at 2:49 am

Hi there,

Just to explain a little more here, whilst the error is from Event Espresso the issue itself is from somewhere else.

What is happening is somewhere on the site (likely another plugin) something is calling for a capability of ‘nothing’, so the code is saying:

‘Does the current user have the ‘nothing’ capability to do X’

Which doesn’t make sense.

Event Espresso currently requires a capability when it hooks in to check for capabilities related to EE so the above then means Event Espresso throws a fatal.

We had another user report this here:

https://eventespresso.com/topic/php-fatal-error-uncaught-typeerror-ee_capabilitiesmap_meta_caps/

That turned out to be an issue from the ‘Central Color Palette‘ plugin.

In the next version of Event Espresso we’ve removed the requirement for a capability to stop Event Espresso from throwing the fatal, however, we have a couple of tickets to finalize before we push that live yet.


Willow

November 22, 2023 at 1:15 am

Hi Tony, it looks like it might be the Elementor updates…I do need elementor activated and the only troubleshooting Elementor offer is to deactivate plugins that have errors assigned to them….any other suggestions? Thanks, Willow


Tony

  • Support Staff

November 22, 2023 at 4:38 am

Are you sure it’s from Elementor? I have Elementor running on a test site with EE without any issue there.

How comfortable with FTP/File Manager are you?


Willow

November 22, 2023 at 6:50 pm

Hi Tony and Rao,

Thank you for your assistance. Yes, you were right Tony – it wasn’t Elementor.

We weren’t able to activate trouble-shooting mode as Rao suggested, but we did just go ahead and deactivate all the plugins.

We then reactivated Event Espresso, then reactivated each plug in one at a time.

We found 3 plugins that resulted in errors upon reactivation.

The main one which caused the White screen of death issue was “Siteground Central” – we had just moved a new URL to be hosted by siteground.

The other 2 which caused 2 different errors were:

“Autoptimize Critial CSS.com” and “Yoast Premium”

All fixed up now. Thanks again,

Kind regards, Willow


Willow

November 22, 2023 at 6:50 pm

* Rio *


Rio

  • Support Staff

November 22, 2023 at 11:52 pm

Awesome. Thanks for reporting it.

Have a wonderful day!

Viewing 7 reply threads

The support post ‘Event Espresso Error causing White Screen in backend of WordPress site’ 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