Cornerstone caused fatal error and fails to activate after latest X update

Dear Team I have updated wordpress, X Theme and all plugins this moring.
After that wordpress displayed a fatal error.
I have managed to enger wordpress in recovery mode. With Cornerstone deactivated the site is partially back but I cannot activate Cornerstone again: Fatal error : Call to undefined method ReflectionParameter::hasType() in /home/wwwfranc/public_html/wp-content/plugins/cornerstone/includes/classes/Util/IocContainer.php on line 40

Could you please help me out?

Thanks,

Anton

Hello @antonstepine,

Thanks for writing to us.

It seems that it is an issue of version compatibility issue. Please make sure the PHP version is 7.4 or 7.4 plus as per our version compatibility page. You are using PHP version 5.6.40 at the moment. Please note that it is also recommended by WordPress as well. Please have a look at this article.

You can contact your hosting provider to update the PHP version, after updating the PHP version as recommended activate your plugin. In case if it doesn’t work for you please share your FTP details in the secure note.

Hope it helps
Thanks

Hi Prakash,
I did the update to 7.4 as you advised, I get a different error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress. Could you please let me know how to proceed?

Hi @antonstepine,

Thanks for providing the Cpanel information. The reason why you have that error “Your PHP installation appears to be missing the MySQL extension which is required by WordPress” is because the mysqli extension is not installed. I went ahead and install the said extension and it fixes your issues. We can now also activate the cornerstone plugin and your website is now working fine.

Hope that helps.

Thank you.

You guys are amazing! Thanks a lot!

Hi @antonstepine,

You’re welcome and it’s our pleasure to help you! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

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