Support

Home Forums Event Espresso Premium Fatal error

Fatal error

Posted: March 18, 2024 at 8:07 pm

Viewing 13 reply threads


houston-electric

March 18, 2024 at 8:07 pm

Hello,

We are seeing the following message when trying to complete a registration form: “This registration step could not be completed please refresh the page and try again”

We activated the debug mode and saw that two extensions were having fatal errors. Below is a copy of a few of the errors logged in the debug.log:
—–
[19-Mar-2024 00:30:06 UTC] PHP Warning: session_start(): Session cannot
be started after headers have already been sent in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php on line 65
[19-Mar-2024 00:40:07 UTC] PHP Warning: Undefined array key "espresso_events" in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 331
[19-Mar-2024 00:40:46 UTC] PHP Warning: Undefined array key "espresso_events" in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 331
[19-Mar-2024 00:42:43 UTC] PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php82) failed: Permission denied (13) in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php on line 65
[19-Mar-2024 00:43:17 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "ee_wp_users_remove_email_user_match_check_logged_out" not found or invalid function name in /home/gxtestin/public_html/wp-includes/class-wp-hook.php:326
Stack trace:
#0 /home/gxtestin/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)
#1 /home/gxtestin/public_html/wp-content/plugins/eea-wp-user-integration/EED_WP_Users_SPCO.module.php(521): apply_filters('EED_WP_Users_SP...', true, Object(EE_SPCO_Reg_Step_Attendee_Information), Object(EE_Registration))
#2 /home/gxtestin/public_html/wp-includes/class-wp-hook.php(324): EED_WP_Users_SPCO::verify_user_access(false, 0, Object(EE_Registration), Array, Array, Object(EE_SPCO_Reg_Step_Attendee_Information))
#3 /home/gxtestin/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#4 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/reg_steps/attendee_information/EE_SPCO_Reg_Step_Attendee_Information.class.php(687): apply_filters('FHEE__EE_SPCO_R...', false, 0, Object(EE_Registration), Array, Array, Object(EE_SPCO_Reg_Step_Attendee_Information))
#5 /home/gxtestin/public_html/wp-includes/class-wp-hook.php(326): EE_SPCO_Reg_Step_Attendee_Information->preRegistrationProcess(false, 0, Object(EE_Registration), Array, Array)
#6 /home/gxtestin/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#7 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/services/registration/form/v1/RegFormHandler.php(151): apply_filters('FHEE__EventEspr...', false, 0, Object(EE_Registration), Array, Array, Object(EventEspresso\core\domain\services\registration\form\v1\RegFormHandler))
#8 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/reg_steps/attendee_information/EE_SPCO_Reg_Step_Attendee_Information.class.php(618): EventEspresso\core\domain\services\registration\form\v1\RegFormHandler->processRegistrations(Array, Array)
#9 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(1279): EE_SPCO_Reg_Step_Attendee_Information->process_reg_step()
#10 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(471): EED_Single_Page_Checkout->_process_form_action()
#11 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(140): EED_Single_Page_Checkout->_initialize()
#12 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(164): EED_Single_Page_Checkout::process_ajax_request('process_reg_ste...')
#13 /home/gxtestin/public_html/wp-includes/class-wp-hook.php(324): EED_Single_Page_Checkout::process_reg_step('')
#14 /home/gxtestin/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#15 /home/gxtestin/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /home/gxtestin/public_html/wp-admin/admin-ajax.php(203): do_action('wp_ajax_nopriv_...')
#17 {main}
thrown in /home/gxtestin/public_html/wp-includes/class-wp-hook.php on line 326
[19-Mar-2024 00:43:48 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "ee_wp_users_remove_email_user_match_check_logged_out" not found or invalid function name in /home/gxtestin/public_html/wp-includes/class-wp-hook.php:326
Stack trace:
#0 /home/gxtestin/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)
#1 /home/gxtestin/public_html/wp-content/plugins/eea-wp-user-integration/EED_WP_Users_SPCO.module.php(521): apply_filters('EED_WP_Users_SP...', true, Object(EE_SPCO_Reg_Step_Attendee_Information), Object(EE_Registration))
#2 /home/gxtestin/public_html/wp-includes/class-wp-hook.php(324): EED_WP_Users_SPCO::verify_user_access(false, 0, Object(EE_Registration), Array, Array, Object(EE_SPCO_Reg_Step_Attendee_Information))
#3 /home/gxtestin/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#4 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/reg_steps/attendee_information/EE_SPCO_Reg_Step_Attendee_Information.class.php(687): apply_filters('FHEE__EE_SPCO_R...', false, 0, Object(EE_Registration), Array, Array, Object(EE_SPCO_Reg_Step_Attendee_Information))
#5 /home/gxtestin/public_html/wp-includes/class-wp-hook.php(326): EE_SPCO_Reg_Step_Attendee_Information->preRegistrationProcess(false, 0, Object(EE_Registration), Array, Array)
#6 /home/gxtestin/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#7 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/services/registration/form/v1/RegFormHandler.php(151): apply_filters('FHEE__EventEspr...', false, 0, Object(EE_Registration), Array, Array, Object(EventEspresso\core\domain\services\registration\form\v1\RegFormHandler))
#8 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/reg_steps/attendee_information/EE_SPCO_Reg_Step_Attendee_Information.class.php(618): EventEspresso\core\domain\services\registration\form\v1\RegFormHandler->processRegistrations(Array, Array)
#9 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(1279): EE_SPCO_Reg_Step_Attendee_Information->process_reg_step()
#10 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(471): EED_Single_Page_Checkout->_process_form_action()
#11 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(140): EED_Single_Page_Checkout->_initialize()
#12 /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(164): EED_Single_Page_Checkout::process_ajax_request('process_reg_ste...')
#13 /home/gxtestin/public_html/wp-includes/class-wp-hook.php(324): EED_Single_Page_Checkout::process_reg_step('')
#14 /home/gxtestin/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#15 /home/gxtestin/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /home/gxtestin/public_html/wp-admin/admin-ajax.php(203): do_action('wp_ajax_nopriv_...')
#17 {main}
thrown in /home/gxtestin/public_html/wp-includes/class-wp-hook.php on line 326
[19-Mar-2024 01:00:07 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php on line 65
[19-Mar-2024 01:25:36 UTC] PHP Warning: Undefined array key "espresso_events" in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 331
[19-Mar-2024 01:25:36 UTC] PHP Warning: Undefined array key "espresso_venues" in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 331
[19-Mar-2024 01:25:36 UTC] PHP Warning: Undefined array key "espresso_people" in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 331
[19-Mar-2024 01:25:41 UTC] PHP Warning: Undefined array key "espresso_venues" in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 331
[19-Mar-2024 01:25:43 UTC] PHP Warning: Undefined array key "espresso_people" in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 331
[19-Mar-2024 01:30:05 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/gxtestin/public_html/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php on line 65
---

How can we solve this? The plugins are at the latest version available.

Thanks!


Rio

  • Support Staff

March 19, 2024 at 4:29 am

Can you give more information about your site.
What is your WP and PHP version?

Can you also send the site URL where we can test to register?

Can you also recall when this error happen? what was the last thing you did? such as updating plugin, theme and so on.

thanks


houston-electric

March 19, 2024 at 9:56 am

The WP version is 6.4.3, and the PHP version is 8.2.

Here is the URL: https://hel.org

The error occurred on March 17th. The plugin was last updated on March 12th.


houston-electric

March 19, 2024 at 10:11 am

Here is the link to test the registration form: https://hel.org/etc/


Rio

  • Support Staff

March 19, 2024 at 6:04 pm

This reply has been marked as private.


Rio

  • Support Staff

March 19, 2024 at 6:53 pm

Hello,

5.0.19 is now available. Can you update your plugin to that version and let us know if you still experience any problem.

thanks


houston-electric

March 21, 2024 at 9:11 am

Sorry, can you try accessing it again? We sent the credentials.

We updated the plugin, but the registration is still not working.


Tony

  • Support Staff

March 21, 2024 at 12:27 pm

Hi there,

I just tried d logging in with the credentials porivded but they don’t appear to be valid, can you check and resend please?

If you create a new account, use support[at]eventespresso.com for the email and we can request a password reset through that if need be.

This is the important part of the error:

PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "ee_wp_users_remove_email_user_match_check_logged_out" not found or invalid function name in /home/gxtestin/public_html/wp-includes/class-wp-hook.php:326

That means that somewhere on the site you have this line of code:

https://gist.github.com/joshfeck/1131145859a3fab58f4d#file-disable_email_match-php-L5

But the function from that snippet has been remove/comments out on your site so the callback has been added but the function for that callback doesn’t exist.


houston-electric

March 22, 2024 at 3:16 pm

Hi Tony,

We just changed the email. You may request a password reset and login.

Can you please take a look and see if you are able to login?

Thank you for looking into this!


Rio

  • Support Staff

March 25, 2024 at 1:32 am

This reply has been marked as private.


houston-electric

March 25, 2024 at 7:47 am

Hi, we sent another password reset. Can you try again, please?

No, we are not able to see your message.


Tony

  • Support Staff

March 25, 2024 at 8:45 am

This reply has been marked as private.


houston-electric

March 25, 2024 at 9:29 am

We apologize for the inconvenience. We have made the necessary changes to the user account and a new password has been set up.

Could you please try again?


Tony

  • Support Staff

March 25, 2024 at 9:33 am

Those don’t work for me.

How about using a plugin like this:

https://wordpress.org/plugins/temporary-login-without-password/

Generate a login link and send it via the form above (do not post it here)


houston-electric

March 25, 2024 at 9:51 am

This reply has been marked as private.


Tony

  • Support Staff

March 25, 2024 at 9:59 am

Ok… so the issue is within your child themes functions.php file.

Its the issue I mentioned above HERE.

Someone has added this code:

add_filter( 'EED_WP_Users_SPCO__verify_user_access__perform_email_user_match_check', 'ee_wp_users_remove_email_user_match_check_logged_out' );

But then (I’m guessing later) completely remove the ee_wp_users_remove_email_user_match_check_logged_out function from that file.

To prevent the fatal error you need to delete/comment out the above line of code from your child theme.

Viewing 13 reply threads

The support post ‘Fatal 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