Support

Home Forums Event Espresso Premium All Registrations CSV Report causes critical error on website

All Registrations CSV Report causes critical error on website

Posted: December 11, 2019 at 4:45 am


vrwaadmin

December 11, 2019 at 4:45 am

When I try to export CSV from the All Registration button, we get, “There has been a critical error on your website. Please check your site admin email inbox for instructions.”

The admin email received an “Your Site is Experiencing a Technical Issue” email from the host that references my functions plugin. I am hoping it reveals something to you about what I might have messed up.

Since WordPress 5.2 there is a built-in feature … WordPress caught an error with one of your plugins, Add-on x.org.

First, visit your website (https://vtruralwater.org/) and check for any visible issues. Next, visit the page where the error was caught (https://vtruralwater.org/wp-admin/admin.php?page=espresso_batch&return_url=%2F%2Fvtruralwater.org%2Fwp-admin%2Fadmin.php%3Fpage%3Despresso_registrations&action=default&registrations_report_nonce=c1ffa80700&batch=file&filters=a%3A5%3A%7Bi%3A0%3Ba%3A1%3A%7Bs%3A6%3A%22STS_ID%22%3Ba%3A2%3A%7Bi%3A0%3Bs%3A2%3A%22%21%3D%22%3Bi%3A1%3Bs%3A3%3A%22RIC%22%3B%7D%7Ds%3A4%3A%22caps%22%3Bs%3A10%3A%22read_admin%22%3Bs%3A24%3A%22default_where_conditions%22%3Bs%3A15%3A%22this_model_only%22%3Bs%3A8%3A%22order_by%22%3Ba%3A2%3A%7Bs%3A8%3A%22REG_date%22%3Bs%3A4%3A%22DESC%22%3Bs%3A6%3A%22REG_ID%22%3Bs%3A4%3A%22DESC%22%3B%7Ds%3A5%3A%22limit%22%3Ba%3A2%3A%7Bi%3A0%3Bi%3A0%3Bi%3A1%3Bi%3A10%3B%7D%7D&job_handler=EventEspressoBatchRequest%5CJobHandlers%5CRegistrationsReport&default_nonce=279ed4f449&return=registrations_report) and check for any visible issues.

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

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.3
Current theme: Divi (version 4.0.7)
Current plugin: Add-on for vtruralwater.org (version )
PHP version 7.3.8-1+ubuntu18.04.1+deb.sury.org+1

Error Details
=============
An error of type E_ERROR was caused in line 279 of the file /var/web/site/public_html/wp-content/plugins/vrwa/vrwa-customizations.php. Error message: Uncaught Error: Call to a member function get() on null in /var/web/site/public_html/wp-content/plugins/vrwa/vrwa-customizations.php:279
Stack trace:
#0 /var/web/site/public_html/wp-includes/class-wp-hook.php(288): tw_ee_populate_additional_registrants_questions_using_primary_reg(Array, Array)
#1 /var/web/site/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /var/web/site/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/batch/JobHandlers/RegistrationsReport.php(499): apply_filters(‘FHEE__EventEspr…’, Array, Array)
#3 /var/web/site/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/batch/JobHandlers/RegistrationsReport.php(107): EventEspressoBatchRequest\JobHandlers\RegistrationsReport->get_csv_data_for(0, 0, 1, Array, Array)
#4 /var/web/site/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/batch/BatchRequestProcessor.php(71): EventEspressoBatchRequest\JobHandlers\RegistrationsReport->create_job(Object(EventEspressoB


Tony

  • Support Staff

December 11, 2019 at 5:29 am

Hi Jace,

Please don’t large blocks of code on the forums, the forum adds formatting to the post so then we have no idea if the is originally that way, or from the forum.

Please use something like Pastebin to add the code and post the URL here for us to view.

The error:

An error of type E_ERROR was caused in line 279 of the file /var/web/site/public_html/wp-content/plugins/vrwa/vrwa-customizations.php. Error message: Uncaught Error: Call to a member function get() on null in /var/web/site/public_html/wp-content/plugins/vrwa/vrwa-customizations.php:279

References live 279 yet the code you posted is only 265 lines long, is that the entire contents of vrwa-customizations.php?

The support post ‘All Registrations CSV Report causes critical error on website’ 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