Support

Home Forums Event Espresso Premium Getting Fatal error: Call to a member function name() on registration

Getting Fatal error: Call to a member function name() on registration

Posted: September 8, 2014 at 8:13 am


Dov Goldstein

September 8, 2014 at 8:13 am

On member registration page of event we are getting below error on ttk price column :
http://awesomescreenshot.com/0403g589d0 (error screenshot)
Fatal error: Call to a member function name() on a non-object in /home/cfemd011/public_html/wp-content/plugins/event-espresso-core-reg-8/admin_pages/registrations/EE_Registrations_List_Table.class.php on line 370

When we click on member registration details We are getting following :
http://awesomescreenshot.com/0e43g57j7f (error screenshot)

Warning: Illegal string offset ‘registration_id’ in /home/cfemd011/public_html/wp-content/plugins/event-espresso-core-reg-8/admin_pages/registrations/Registrations_Admin_Page.core.php on line 1270

Please help us to fixt it.

Thank you


Josh

  • Support Staff

September 8, 2014 at 12:27 pm

Hi there,

Can you let us know if this is happening for 1) this one registration, or 2) other registrations for this same time, or 3) all registrations for all events and tickets?


Dov Goldstein

September 9, 2014 at 5:24 am

This is just happening for all registrations (Except 1) for just one of my events


Tony

  • Support Staff

September 9, 2014 at 5:29 am

When you initially created this event, did you create the event with a title? or did you publish it and then create a title.

With the latter you’ll see a warning such as this: http://take.ms/PCkYv

If you then add a title to the event the warning is no longer displayed, however the Event is not correctly setup and causes issues such as these.


Dov Goldstein

September 9, 2014 at 6:23 am

It happened at some point during a migration or update. I keep trying to add that info but get:
Warning: Invalid argument supplied for foreach() in /home/cfemd011/public_html/wp-content/plugins/event-espresso-core-reg-8/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 761

Warning: Invalid argument supplied for foreach() in /home/cfemd011/public_html/wp-content/plugins/event-espresso-core-reg-8/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 693

Warning: Invalid argument supplied for foreach() in /home/cfemd011/public_html/wp-content/plugins/event-espresso-core-reg-8/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 1090


Josh

  • Support Staff

September 9, 2014 at 7:48 am

Hi Dov,

Was the event migrated from one server to another or was this a migration from an update going from 4.2.x to 4.3.x?


Dov Goldstein

September 9, 2014 at 7:49 am

update going from 4.2.x to 4.3.x


Josh

  • Support Staff

September 9, 2014 at 7:56 am

Can you hit the export link for this event and email support@eventespresso.com a copy of the export file so we can investigate? Thank you.


Josh

  • Support Staff

September 9, 2014 at 12:28 pm

Looks like the tickets were removed from this one event. Along with that, the start dates/end dates were changed to last May.

Can you try adding a new ticket to this event?

The errors you are seeing when you try to access registrations for this event are indicating there are no attached tickets for them. Did at any time the tickets get changed, or removed/trashed before the event date was changed?


Dov Goldstein

September 23, 2014 at 6:07 am

I added times and dates and am still getting the fatal message.

It is urgent because I need all info of each registrant in order so that I can add them to the membership of the site.

Please help me ass soon as possible as this is urgent.

Thanks,
Dave


Josh

  • Support Staff

September 23, 2014 at 9:04 am

Hi Dov,

Without knowing what exactly in this one event or the registration form options were changed, I can advise exporting the attendee information as a CSV file using the phpMyAdmin software (which in most cases can be accessed via your host’s control panel). The tables that you’ll be exporting are named _esp_answer and _esp_attendee_meta.

The support post ‘Getting Fatal error: Call to a member function name() on registration’ 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