Page 1 of 1

Exception: Error: Could not call registry key session!

Posted: Fri Aug 26, 2022 11:18 pm
by adam.wall
I am currently working on upgrading our OC 3.0.3.7 to OC 4.0.1.0. Due to PCI DSS we have to pass quarterly scans of the website and it has identified that jQuery needs updated and to my understanding that means a full upgrade to OC 4. Which leads me to this post. I have successfully gone through the upgrade and deleted the install folder and moved the storage folder. Double checked both config files and updated the admin folder to another name. When I try to access the admin panel I get his error

Exception: Error: Could not call registry key session! in C:\inetpub\wwwroot\opencart\system\engine\controller.php on line 25

Any insight or help would be appreciated.

Re: Exception: Error: Could not call registry key session!

Posted: Sat Aug 27, 2022 4:43 am
by ADD Creative
Could be an issue loading the session class. Check both your PHP and OpenCart error logs for other errors.

To be honest it could be easier just to upgrade jQuery. See. viewtopic.php?t=224641

Re: Exception: Error: Could not call registry key session!

Posted: Sat Aug 27, 2022 5:49 am
by straightlight
adam.wall wrote:
Fri Aug 26, 2022 11:18 pm
I am currently working on upgrading our OC 3.0.3.7 to OC 4.0.1.0. Due to PCI DSS we have to pass quarterly scans of the website and it has identified that jQuery needs updated and to my understanding that means a full upgrade to OC 4. Which leads me to this post. I have successfully gone through the upgrade and deleted the install folder and moved the storage folder. Double checked both config files and updated the admin folder to another name. When I try to access the admin panel I get his error

Exception: Error: Could not call registry key session! in C:\inetpub\wwwroot\opencart\system\engine\controller.php on line 25

Any insight or help would be appreciated.
See if the issue can be reproduced with opencart-3 repository with the session libraries.

Re: Exception: Error: Could not call registry key session!

Posted: Sat Aug 27, 2022 4:52 pm
by thekrotek
adam.wall wrote:
Fri Aug 26, 2022 11:18 pm
jQuery needs updated and to my understanding that means a full upgrade to OC 4
Wrong understanding. You could simply try to update jQuery. It's not an upgrade from Bootstrap 4 to 5, should be easier to do.