Posted: November 4, 2014 at 9:17 am
|
Getting the following in the price column of some registrations after upgrade from 3 to 4. Fatal error: Call to a member function name() on a non-object in /html/wp-content/plugins/event-espresso-core-reg-2/admin_pages/registrations/EE_Registrations_List_Table.class.php on line 362 Also tickets are missing for some events which I think may be what is causing the error. |
Hi Peter, Which version of Event Espresso did you update from? |
|
|
It was the latest version of EE3 |
When you ran the migrations did you run through all the steps for each migration? |
|
|
Yes I did. As far as I know. Is there a way to run them again? |
The best way is to restore to the database backup made before activating EE4, then when you re-activate EE4 the migrations will start again. Do you have a backup from before you the migrations? |
|
|
Yes I do. I have done a lot of work setting the system up since the upgrade though. Is there any other way to fix the lost tickets? Through the DB? |
Hi, Generally, if you are seeing errors like this, then the database upgrade did not complete correctly. In this case, restoring from a backup would be the best option since there could be other issues that may have occurred. Can you get some screenshots (Tinygrab.com or getcloudapp.com are free screenshot services) of the existing information and then try the upgrade again? — |
|
|
Here is what the events are saying And this is the error |
Hi, Your events are missing the ticket information. Do you have a backup available? — |
|
|
Yes. I have restored the backup and run through the upgrade with the same results. No errors during migration, but the same errors showing in registrations after. |
|
I need to move ahead. Is there any way I can clean this up in the DB? I can create tickets for events where the tickets were not created, but when I view the registrant list, I get that error and it will not show anyone after that. |
Hi Peter, Do you know which version of Event Espresso 3 you were migrating from? Along with that, had anything been customized with the Event Espresso 3? |
|
|
Version 3.1.36.6.P As it turns out, all but one of the problem events have passed. So I’m just trying to figure out how to update user registration to point to the new ticket I’ve created. |
|
It appear that in the db, the registration in _esp_registration of the individuals that this error shows for are pointing to the wrong ticket id. I thin particular case I am looking at, the ticket id is the number of the event ID in the previous version. |
|
Sorry, I was mistaken. The ticket id is set to 0 |
|
So I guess my question is, if I update the TKT_ID in _esp_registration, what else would I need to update so that I don’t break anything. |
Hi Pete, The problem is that for this to happen, ‘something’ has gone wrong with the migration from EE3 to EE4 and caused this error, so its not really possible for us to answer that question as we currently don’t know what that something is. Would it be possible for you to send us the database backup from before you upgraded to EE4 so we can investigate the cause? |
|
|
Sure. Do you have an email address I can send a link to? I have registrations taking place at the moment, so I have had to continue to use the system as is for now. All new events seem okay and the one that was broken that I still need, I was able to create a ticket for and update the registration table to point those registrations to the ticket. I also updated the TKT_sold column for the new ticket as well as the DTT_sold in the esp_datetime table. |
Please use support[at]eventespresso.com We will investigate this and see if we can find the cause. |
|
|
Thanks, sent. |
The support post ‘Fatal Error in Price column after upgrade’ 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.