Errors updating to 5.1.5

Hi,

Updating an older Pro site (4.2.0) to 5.1.5, and receiving error messages:

“There has been a critical error on this website. Please check your site admin email inbox for instructions.”

I’ve read on other threads that this may be due to a compatibility issue with cornerstone, but I am updating this before cornerstone.

Summary

[Wed Apr 06 18:57:42.109744 2022] [proxy_fcgi:error] [pid 21657:tid 140655908923136] [client 115.78.122.58:47216] Error logs:

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method ReflectionType::getName() in /home/174197.cloudwaysapps.com/admpdvgssc/public_html/wp-content/themes/pro/cornerstone/includes/classes/Util/IocContainer.php:55\nStack trace:\n#0 [internal function]: Themeco\Cornerstone\Util\IocContainer->Themeco\Cornerstone\Util\{closure}(Object(ReflectionParameter))\n#1 /home/174197.cloudwaysapps.com/admpdvgssc/public_html/wp-content/themes/pro/cornerstone/includes/classes/Util/IocContainer.php(63): array_map(Object(Closure), Array)\n

Any help would be greatly appreciated.

Thanks

Hello @Thomxnj,

Thanks for writing in!

Please go to Tools > Site Health > Status and make sure to resolve all the critical issues. Have your PHP version updated to at least PHP 7.4. For more compatibility, please check this documentation:

Kindly let us know how it goes.

Hi,

That did the trick! Thank you for your help.

Hello @Thomxnj,

Glad that we were able to help. Please feel free to open a new thread if you have any more queries.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.