Support

Home Forums Event Espresso Premium Scary Sounding "Fatal Error" Email from WordPress

Scary Sounding "Fatal Error" Email from WordPress

Posted: August 16, 2023 at 3:05 pm

Viewing 4 reply threads


seanrspence

August 16, 2023 at 3:05 pm

Got this email today from wordpress@apcalrocknranch.com

Checked the site and there are no visible issues on the front end.

There is a new version 5.0.9.p and I’m updating right now. Think that was it or is this indicating something else?

First, visit your website (https://apcalrocknranch.com/) and check for any visible issues. Next, visit the page where the error was caught (https://apcalrocknranch.com/wp-admin/admin.php?s=&_wpnonce=cfeb964342&_wp_http_referer=%2Fwp-admin%2Fadmin.php%3Fpage%3Despresso_events&action=-1&month_range=&active_status=none&venue=&EVT_CAT=-1&use_filters=no&page=espresso_events&route=default&perpage=20&trash_events_nonce=82dc061c6c&paged=1&EVT_IDs%5B%5D=332&EVT_IDs%5B%5D=303&EVT_IDs%5B%5D=302&EVT_IDs%5B%5D=301&EVT_IDs%5B%5D=300&EVT_IDs%5B%5D=299&EVT_IDs%5B%5D=298&EVT_IDs%5B%5D=293&EVT_IDs%5B%5D=292&EVT_IDs%5B%5D=280&EVT_IDs%5B%5D=279&EVT_IDs%5B%5D=278&EVT_IDs%5B%5D=277&EVT_IDs%5B%5D=276&EVT_IDs%5B%5D=274&EVT_IDs%5B%5D=272&EVT_IDs%5B%5D=259&action2=-1&default_nonce=cc4129e22c) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

{REMOVED}

To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.2.2
Active theme: Showit (version 1.0)
Current plugin: Event Espresso – Promotions (EE 4.9.10+) (version 1.0.16.p)
PHP version 8.0.29

Error Details
=============
An error of type E_ERROR was caused in line 45 of the file /nas/content/live/showit34871/wp-content/plugins/eea-promotions/lib/scopes/EE_Promotion_Event_Scope.lib.php. Error message: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /nas/content/live/showit34871/wp-content/plugins/eea-promotions/lib/scopes/EE_Promotion_Event_Scope.lib.php:45
Stack trace:
#0 /nas/content/live/showit34871/wp-content/plugins/eea-promotions/lib/scopes/EE_Promotion_Event_Scope.lib.php(45): explode(‘,’, Array)
#1 /nas/content/live/showit34871/wp-includes/class-wp-hook.php(308): EE_Promotion_Event_Scope->event_list_query_params(Array, Array)
#2 /nas/content/live/showit34871/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#3 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_Page.core.php(2023): apply_filters(‘FHEE__Events_Ad…’, Array, Array)
#4 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_List_Table.class.php(35): Events_Admin_Page->get_events(20, 1)
#5 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_List_Table.core.php(246): Events_Admin_List_Table->_setup_data()
#6 [internal function]: EE_Admin_List_Table->__construct(Object(Extend_Events_Admin_Page), Object(EventEspresso\core\services\admin\AdminListTableFilters))
#7 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1308): ReflectionClass->newInstanceArgs(Array)
#8 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(800): EE_Registry->_create_object(‘Extend_Events_A…’, Array, ”, false)
#9 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(110): EE_Registry->create(‘Extend_Events_A…’, Array, true, false, false, ”)
#10 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php(157): EventEspresso\core\services\loaders\CoreLoader->load(‘Extend_Events_A…’, Array, true)
#11 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(81): EventEspresso\core\services\loaders\CachingLoader->load(‘Extend_Events_A…’, Array, true)
#12 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(104): EventEspresso\core\services\loaders\Loader->load(‘Extend_Events_A…’, Array)
#13 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(2080): EventEspresso\core\services\loaders\Loader->getShared(‘Extend_Events_A…’, Array)
#14 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(2032): EE_Admin_Page->_set_list_table_object()
#15 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(784): EE_Admin_Page->_set_list_table()
#16 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(322): EE_Admin_Page->_load_page_dependencies()
#17 /nas/content/live/showit34871/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(747): EE_Admin_Page_CPT->_load_page_dependencies()
#18 /nas/content/live/showit34871/wp-includes/class-wp-hook.php(308): EE_Admin_Page->load_page_dependencies(”)
#19 /nas/content/live/showit34871/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
#20 /nas/content/live/showit34871/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#21 /nas/content/live/showit34871/wp-admin/admin.php(237): do_action(‘load-toplevel_p…’)
#22 {main}
thrown


Rio

  • Support Staff

August 16, 2023 at 8:44 pm

Im looking on your site and it seems fine. Can you tell us where did you see the error, and how i can reproduce it? is there specific pages you experience this issue?

Can you still logged to your site?

thanks


seanrspence

August 17, 2023 at 9:17 am

I looked and it seemed fine too. Everything works on the back end. Did not actually experience any errors. It was an email that was sent from WordPress.

IF you don’t recognize this error, then I’m going to call it all good. Thank you.


Rio

  • Support Staff

August 18, 2023 at 2:12 am

Possibly it only happened while plugin is being updated. If you notice any wrong on your site, feel free to let us know.

thanks


Tony

  • Support Staff

August 18, 2023 at 3:08 am

Hi there,

That error looks like it’s from trying to view the specific events a promotion applies to.

Go to Event Espresso -> Promotions.

Do you have a promotion code that lists ‘Events’ with a number in the applies to column, like this:

https://monosnap.com/file/tMAJjtwFqxUU9GYrBishY8ZBypskvj

Click that, what does it show you then? (Note you can’t ‘break’ anything doing the above, it may show “There was a critical error” but it wont be any harm. You just then go back to the wp-admin to get away from that page)

Note, the error may seem scary, but this is the error itself:

Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given

This is basically saying ‘Hey I was expecting something like "1,2,3,4,5,6" and you gave me $event_ids[1,2,3,4,5,6] and I don’t know what to do now’. The rest of the error is a ‘stack trace’ which tells us what called the functions etc.

Viewing 4 reply threads

The support post ‘Scary Sounding "Fatal Error" Email from WordPress’ 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