Cornerstone fatal error locCOntainer.php

Hi I just tried to update my pretty static business site and was updating plugins when cornerstone caused a fatal error. Its been a while since I did any web stuff so I am basically super beginner with all this. Error message reads like this.

Fatal error : Call to undefined method ReflectionParameter::hasType() in /home/kawaimtk/public_html/wp-content/plugins/cornerstone/includes/classes/Util/IocContainer.php on line 40

This is my business site and I need to fix immediately. I was running (probably very old) versions of X theme, WP, etc. My site just displays a bunch of gibberish. Please help.

Hey @dkawai,

Thanks for reaching out!

Your issue is similar to this thread, please check for the resolution.

Hope that helps.

Ok, so I tried to update PHP as pointed out. Went to my host, accessed cpanel and updated it to 8.1 the latest version. Now I can’t even get into recovery mode, and all that happens when I try to log in is I see a screen that says “recovery mode not initialized”. What else can I do?

I also increased my memory limit in the wp-config file with the code supplied. Not working. Please let me know how to fix this I can’t even get into my dashboard now. No recovery mode.

define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ );

Hey @dkawai,

Please downgrade your PHP version from 8.1 to 7.4 because that WordPress recommended PHP version as of the moment.

Hope that helps and let us know how it goes.

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