Support

Home Forums Event Espresso Premium WordPress Critical Error

WordPress Critical Error

Posted: March 8, 2022 at 11:36 am

Viewing 6 reply threads


Chris Bouse

March 8, 2022 at 11:36 am

Hello to my favorite plugin support team! I just got this error from WordPress, for the first time, and have no idea what it means. We got it after canceling someone and triggering notifications but it seemed to work. can you please advise?

~~~~~~~~~~~~~~~~~~~~~

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, Event Espresso.

First, visit your website (https://lacrtc.org/) and check for any visible issues. Next, visit the page where the error was caught (https://lacrtc.org/wp-admin/admin.php?s=william+east&_wp_http_referer=%2Fwp-admin%2Fadmin.php%3Fs%3Dwilliam%2Beast%26_wpnonce%3Dcc3f688d1a%26_wp_http_referer%3D%252Fwp-admin%252Fadmin.php%253Fs%253Dwilliam%252Beast%2526_wpnonce%253Dcc3f688d1a%2526_wp_http_referer%253D%25252Fwp-admin%25252Fadmin.php%25253Fs%25253Deast%252526_wpnonce%25253Dcc3f688d1a%252526_wp_http_referer%25253D%2525252Fwp-admin%2525252Fadmin.php%2525253Fpage%2525253Despresso_registrations%252526action%25253D-1%252526month_range%25253D%252526EVT_CAT%25253D-1%252526_reg_status%25253D0%252526page%25253Despresso_registrations%252526route%25253Ddefault%252526perpage%25253D50%252526approve_registrations_nonce%25253D3afdf02048%252526approve_and_notify_registrations_nonce%25253Dfd5523ca78%252526decline_registrations_nonce%25253D50198d022e%252526decline_and_notify_registrations_nonce%25253D7c28adbb01%252526pending_registrations_nonce%25253Df2c5535b17%252526pending_and_notify_registrations_nonce%25253D4eeadc4f16%252526no_approve_registrations_nonce%25253Dd9f3b5f6d4%252526no_approve_and_notify_registrations_nonce%25253D1fa6a7d8df%252526cancel_registrations_nonce%25253Dbdc1a6c541%252526cancel_and_notify_registrations_nonce%25253D52648f1fd4%252526wait_list_registrations_nonce%25253De7a63c88ea%252526wait_list_and_notify_registrations_nonce%25253D0f0df2bffa%252526trash_registrations_nonce%25253D77529f20e8%252526paged%25253D1%252526action2%25253D-1%252526default_nonce%25253Dbe2ed67479%2526action%253D-1%2526month_range%253D%2526EVT_CAT%253D-1%2526_reg_status%253D0%2526page%253Despresso_registrations%2526route%253Ddefault%2526perpage%253D50%2526approve_registrations_nonce%253D3afdf02048%2526approve_and_notify_registrations_nonce%253Dfd5523ca78%2526decline_registrations_nonce%253D50198d022e%2526decline_and_notify_registrations_nonce%253D7c28adbb01%2526pending_registrations_nonce%253Df2c5535b17%2526pending_and_notify_registrations_nonce%253D4eeadc4f16%2526no_approve_registrations_nonce%253Dd9f3b5f6d4%2526no_approve_and_notify_registrations_nonce%253D1fa6a7d8df%2526cancel_registrations_nonce%253Dbdc1a6c541%2526cancel_and_notify_registrations_nonce%253D52648f1fd4%2526wait_list_registrations_nonce%253De7a63c88ea%2526wait_list_and_notify_registrations_nonce%253D0f0df2bffa%2526trash_registrations_nonce%253D77529f20e8%2526paged%253D1%2526action2%253D-1%2526default_nonce%253Dbe2ed67479%26action%3D-1%26month_range%3D%26EVT_CAT%3D-1%26_reg_status%3D0%26page%3Despresso_registrations%26route%3Ddefault%26perpage%3D50%26approve_registrations_nonce%3D3afdf02048%26approve_and_notify_registrations_nonce%3Dfd5523ca78%26decline_registrations_nonce%3D50198d022e%26decline_and_notify_registrations_nonce%3D7c28adbb01%26pending_registrations_nonce%3Df2c5535b17%26pending_and_notify_registrations_nonce%3D4eeadc4f16%26no_approve_registrations_nonce%3Dd9f3b5f6d4%26no_approve_and_notify_registrations_nonce%3D1fa6a7d8df%26cancel_registrations_nonce%3Dbdc1a6c541%26cancel_and_notify_registrations_nonce%3D52648f1fd4%26wait_list_registrations_nonce%3De7a63c88ea%26wait_list_and_notify_registrations_nonce%3D0f0df2bffa%26trash_registrations_nonce%3D77529f20e8%26paged%3D1%26action2%3D-1%26default_nonce%3Dbe2ed67479&action=default&month_range&EVT_CAT=-1&_reg_status=0&page=espresso_registrations&route=default&perpage=50&paged=1&_REG_ID%5B0%5D=2043&action2=-1&_wpnonce=be2ed67479&default_nonce=be2ed67479&return=cancel_and_notify_registrations) 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.

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 5.9.1
Current theme: GeneratePress – Child (version )
Current plugin: Event Espresso (version 4.10.26.p)
PHP version 8.0.16

Error Details
=============
An error of type E_ERROR was caused in line 1164 of the file /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php. Error message: Uncaught TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given in /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php:1164
Stack trace:
#0 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1164): htmlspecialchars(Array)
#1 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/EE_Registrations_List_Table.class.php(1009): EE_Admin_Page::add_query_args_and_nonce(Array, ‘https://lacrtc….’, true)
#2 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_List_Table.core.php(748): EE_Registrations_List_Table->column_actions(Object(EE_Registration))
#3 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_List_Table.core.php(643): EE_Admin_List_Table->single_row_columns(Object(EE_Registration))
#4 /home2/tjmlqsmy/public_html/wp-admin/includes/class-wp-list-table.php(1377): EE_Admin_List_Table->single_row(Object(EE_Registration))
#5 /home2/tjmlqsmy/public_html/wp-admin/includes/class-wp-list-table.php(1362): WP_List_Table->display_rows()
#6 /home2/tjmlqsmy/public_html/wp-admin/includes/class-wp-list-table.php(1289): WP_List_Table->display_rows_or_placeholder()
#7 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/templates/admin_list_wrapper.template.php(20): WP_List_Table->display()
#8 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Template.helper.php(392): include(‘/home2/tjmlqsmy…’)
#9 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(3107): EEH_Template::display_template(‘/home2/tjmlqsmy…’, Array, true)
#10 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(3001): EE_Admin_Page->_display_admin_list_table_page()
#11 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php(1177): EE_Admin_Page->display_admin_list_table_page_with_no_sidebar()
#12 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1047): Registrations_Admin_Page->_registrations_overview_list_table()
#13 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(1162): EE_Admin_Page->_route_admin_request()
#14 /home2/tjmlqsmy/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(227): EE_Admin_Page_CPT->route_admin_request()
#15 /home2/tjmlqsmy/public_html/wp-includes/class-wp-hook.php(307): EE_Admin_Page_Init->initialize_admin_page(”)
#16 /home2/tjmlqsmy/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#17 /home2/tjmlqsmy/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#18 /home2/tjmlqsmy/public_html/wp-admin/admin.php(259): do_action(‘event-espresso_…’)
#19 {main}
thrown


Tony

  • Support Staff

March 8, 2022 at 12:53 pm

Hi there,

I’ve just pushed version 4.10.29.p of Event Espresso live which should prevent the above issue, if you don’t see the update available yet just go to Event Espresso -> General Settings and hit save to force an update check.

However, the reason you are getting the above error is that your server has been updated to use PHP version 8.0.16, Event Espresso is currently not fully PHP8 compatible and I recommend switching the version in use back to PHP7 (the highest version of PHP7 they have available should be fine).


Chris Bouse

March 8, 2022 at 12:56 pm

Thank you Tony….

I would roll the PHP version back however I am on a shared BlueHost server, so unfortunately I have zero control over it.

I appreciate your team’s diligent work with EE. We really appreciate and love your plugin.


Tony

  • Support Staff

March 8, 2022 at 1:11 pm

I would roll the PHP version back however I am on a shared BlueHost server, so unfortunately I have zero control over it.

If you ask BlueHost they may be able to specify which PHP version your site is running.

I run multiple different test sites on various different types of hosting, one of which is a super cheap shared hosting plan I use as a comparison for other cheap hosting. They allow for setting the PHP version within each individual site I have on that account, it’s a single share hosting account with about 10 different sites which I pay less than $3 a month for.


Tony

  • Support Staff

March 8, 2022 at 1:12 pm

I appreciate your teamโ€™s diligent work with EE. We really appreciate and love your plugin.

And…. I didn’t miss this just hit the reply button too quick.

Thank you, I and the team appreciate the feedback ๐Ÿ™‚


Chris Bouse

March 21, 2022 at 1:19 pm

Hey Tony, thank you for the advice. As it turns out, Bluehost did exactly that. Everything is great now, or so it seems ๐Ÿ˜‰


Tony

  • Support Staff

March 21, 2022 at 1:29 pm

Awesome, I’m glad it’s back up and running.

Just to note, we are working on PHP8 compatibility but ran into roadblocks with WordPress core which stopped unit tests and various other systems working, those should now be fixed so we can switch back to getting that done once our current development cycle has finished ๐Ÿ™‚

Viewing 6 reply threads

The support post ‘WordPress Critical Error’ 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