Upgrading from 2 to 3 has been really terrible and frustrating for me.
Everytime I think I’ve made it past one hurdle, I encounter another.
Currently I am getting the following error after the upgrade:
Notice
Trying to get property of non-object
ee/legacy/libraries/Session.php, line 368 show details
Severity: E_NOTICE Notice
Trying to get property of non-object
ee/legacy/libraries/Session.php, line 368 show details
Severity: E_NOTICE Notice
Trying to get property of non-object
ee/legacy/libraries/Session.php, line 377 show details
Severity: E_NOTICE Notice
Trying to get property of non-object
ee/legacy/libraries/Session.php, line 400 show details
Severity: E_NOTICE
Fatal error: Call to a member function getId() on a non-object in /home/jbrunker/public_html/upgrade2016/system/ee/legacy/libraries/Session.php on line 400
Yes. I ran the EE Wizard and the environment meets all of the necessary requirements. My EE3 upgrade completes, but when I try to log into /system I get a fatal error on line 400 of ee > legacy > libraries > Session.php: (int) $member->MemberGroup->getId()
I disabled extensions ($config[‘allow_extensions’] = ‘n’;) in the config file and I even removed my templates but I still can’t log into EE. Normally disabling extensions lets me at least gain access to the Control Panel, but that hasn’t been the case with this EE3 upgrade.
Did you uninstall the add-ons that you aren’t bringing forward from v2 before upgrading to v3? Also were any member records created out-of-band of native features? I.e. either manually in the database, from a member import, or a third-party member management add-on? Both @jbrunker and @garabedium, the appearance is that your database’s member tables do not have integrity and cannot pull together a complete member entity.
Thanks for the response, Derek! Yes, I uninstalled all non-compatible add-ons before the EE3 upgrade.
I had to import my own SuperAdmin account into my local db because the client didn’t know their SuperAdmin account info. That seems to the issue as I can log into the control panel with a non-admin account.
Thanks Derek! I’ll roll back, create a new admin user and try the upgrade again.
Thanks again.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.