Support

Home Forums Event Espresso Premium Uncaught Error: Call to a member function get() from Automated Upcoming Event No

Uncaught Error: Call to a member function get() from Automated Upcoming Event No

Posted: May 18, 2023 at 8:47 am


Danny L Thomas

May 18, 2023 at 8:47 am

Yesterday I created an event as usual which includes a custom Automated Upcoming Event Notifications as well as an automated reminder. After creation I sent a test e-mail to my home address as usual but it did not go thru. Instead I got a fatal error. This morning I got this in an e-mail from WordPress:
===============================================================================
Howdy!
WordPress has 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://www.thepeacecenter.org/) and check for any visible issues. Next, visit the page where the error was caught (https://www.thepeacecenter.org/wp-admin/admin.php?page=espresso_messages&action=update_message_template&noheader=1) 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.

https://www.thepeacecenter.org/wp-login.php?action=enter_recovery_mode&rm_token=tVGYt4LkwNuXIWnLG1caku&rm_key=Otxwx3XRoCsAyOiMhMNReg

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.2.1
Active theme: Outreach Pro (version 3.1)
Current plugin: Event Espresso (version 5.0.5.p)
PHP version 7.4.32

Error Details
=============
An error of type E_ERROR was caused in line 1150 of the file /home/thepeace/www/www/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php. Error message: Uncaught Error: Call to a member function get() on null in /home/thepeace/www/www/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php:363
Stack trace:
#0 /home/thepeace/www/www/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php(190): EE_Base_Class->set(‘ATT_ID’, ‘999999991’, true)
#1 /home/thepeace/www/www/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Attendee.class.php(42): EE_Base_Class->__construct(Array, false, ”, Array)
#2 /home/thepeace/www/www/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Attendee.class.php(63): EE_Attendee->__construct(Array, false, ”, Array)
#3 /home/thepeace/www/www/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/data_class/EE_Messages_Preview_incoming_data.class.php(284): EE_Attendee::new_instance(Array)
#4 /home/thepeace/www/www/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/data_class/EE_Messages_Preview_incoming_data.class.php(86): EE_Messages_P
===============================================================================
We have been using this module for a number of years and have never had a problem before. In addition, this morning I registered for the event. I did receive the “Event Registration Details” approval e-mail, however, when I checked the Message Activity activity page it said that the Registration Approval message “To:” = “No recipient” and if I hover over the To field it says “Queued for Generating”.


Tony

  • Support Staff

May 18, 2023 at 2:13 pm

Hi there,

I can reproduce the issue with sending a test emails for messages and have opened a ticket for our developers to investigate the above.

We have been using this module for a number of years and have never had a problem before. In addition, this morning I registered for the event. I did receive the “Event Registration Details” approval e-mail, however, when I checked the Message Activity activity page it said that the Registration Approval message “To:” = “No recipient” and if I hover over the To field it says “Queued for Generating”.

This is a little strange.

You said you received the “Event Registration Details” approval e-mail, but then say the Registration Approval message is still sitting waiting to generate, in which case that can’t be the message you received as it hasn’t generated.

Are you 100% sure you are looking at the message in question within the activity log?


Danny L Thomas

May 19, 2023 at 7:15 am

I agree it is strange. However, if you give me an e-mail address, I can forward a screen shot showing that the “To” = “No recipient” and Modified = 2023-05-18 09:57:24 and I can forward you my received registration approval e-mail at Thu May 18 2023 10:01 am.
OK, never mind, I guess I was a little hasty, the message board now reads Sent To PeaceManK@verizon.net at and Modified = 2023-05-18 10:01:57. Seems like my timing was perfect to give me a false impression.


friendswoodtech

May 23, 2023 at 7:20 am

I’m experiencing the same issue. I ran a test registration last week and received the registration approved email as the recipient but can’t recall if I received the admin email. But today I received a new registration and never received the admin email. I checked messages and the registrants email shows green so I can only assume it was sent but the admin email is orange. When I tried to send a test email, I received a critical error and the WP email referenced this error.

An error of type E_ERROR was caused in line 1150 of the file /home/hfn7eb7sqp2p/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php. Error message: Uncaught Error: Call to a member function get() on null in /home/hfn7eb7sqp2p/public_html/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php:363


oosailooo

May 30, 2023 at 7:15 am

I get this error also when trying to send a test message through the custom message template. When I setup a new custom message template an click on preview I get also the error.

Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 1150 der Datei /www/htdocs/w010998f/wpnew.humanflights.de/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php verursacht. Fehlermeldung: Uncaught Error: Call to a member function get() on null in /www/htdocs/w010998f/wpnew.humanflights.de/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php:363
Stack trace:
#0 /www/htdocs/w010998f/wpnew.humanflights.de/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php(190): EE_Base_Class->set(‘ATT_ID’, ‘999999991’, true)
#1 /www/htdocs/w010998f/wpnew.humanflights.de/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Attendee.class.php(42): EE_Base_Class->__construct(Array, false, ”, Array)
#2 /www/htdocs/w010998f/wpnew.humanflights.de/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Attendee.class.php(63): EE_Attendee->__construct(Array, false, ”, Array)
#3 /www/htdocs/w010998f/wpnew.humanflights.de/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/data_class/EE_Messages_Preview_incoming_data.class.php(284): EE_Attendee::new_instance(Array)
#4 /www/htdocs/w010998f/wpnew.humanflights.de/wp-content/plugins/e


Tony

  • Support Staff

May 31, 2023 at 4:32 am

Hi there,

We found the cause of this and fixed it in version 5.0.7.p which has now been pushed live.

If you don’t see the update available o your site yet just go to Event Espresso -> General Settings. Make no changes and just hit save to force an update check.

The update should then show in Dashboard -> Plugins as usual.


Danny L Thomas

June 1, 2023 at 8:16 am

Updated, tested, result = OK. Thank you, much appreciated.


Tony

  • Support Staff

June 1, 2023 at 12:53 pm

Awesome, thank you for keeping me updated.

Any further issues just let us know.


oosailooo

June 2, 2023 at 2:46 am

Great, after updating everything is working perfect again – Thanks!


oosailooo

June 2, 2023 at 2:46 am

Great, after updating everything is working perfect again – Thanks!


Tony

  • Support Staff

June 2, 2023 at 6:17 am

You’re most welcome 🙂

The support post ‘Uncaught Error: Call to a member function get() from Automated Upcoming Event No’ 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