Critical Error On Line 55 106 Cornerstone

Hello,

A few of my websites http://www.doubleblessed.com/, http://judybruceart.com/, http://gaucinaggregate.com/, and perhaps a few others are experiencing a critical error: both the website and dashboard are not accessible. Strangely this is not happening to all of my websites, even older ones that are not updated all the time.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.8.2
Current theme: X (version 9.1.4)
Current plugin: Cornerstone (version 6.1.4)
PHP version 7.0.33

Error Details

An error of type E_ERROR was caused in line 55 of the file /home/gcadmin15/public_html/judybruceart.com/wp-content/plugins/cornerstone/includes/classes/Util/IocContainer.php. Error message: Uncaught Error: Call to undefined method ReflectionType::getName() in /home/gcadmin15/public_html/judybruceart.com/wp-content/plugins/cornerstone/includes/classes/Util/IocContainer.php:55
Stack trace:
#0 [internal function]: Themeco\Cornerstone\Util\IocContainer->Themeco\Cornerstone\Util{closure}(Object(ReflectionParameter))
#1 /home/gcadmin15/public_html/judybruceart.com/wp-content/plugins/cornerstone/includes/classes/Util/IocContainer.php(63): array_map(Object(Closure), Array)
#2 /home/gcadmin15/public_html/judybruceart.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(111): Themeco\Cornerstone\Util\IocContainer->resolve(‘Themeco\Corners…’)
#3 /home/gcadmin15/public_html/judybruceart.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(100): Themeco\Cornerstone\Plugin->resolve(‘Themeco\Corners…’)
#4 /home/gcadmin15/public_html/judybruceart.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(66): Themeco\Cornerstone\Plugin->setup_services(‘preinit’)
#5 /home/gcadmin15

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.8.3
Current theme: X (version 8.3.3)
Current plugin: Cornerstone (version 5.3.3)
PHP version 7.0.33

Error Details

An error of type E_ERROR was caused in line 106 of the file /home/gcadmin15/public_html/doubleblessed.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php. Error message: Uncaught Error: Call to undefined method ReflectionType::getName() in /home/gcadmin15/public_html/doubleblessed.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php:106
Stack trace:
#0 [internal function]: Themeco\Cornerstone\Plugin->Themeco\Cornerstone{closure}(Object(ReflectionParameter))
#1 /home/gcadmin15/public_html/doubleblessed.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(117): array_map(Object(Closure), Array)
#2 /home/gcadmin15/public_html/doubleblessed.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(137): Themeco\Cornerstone\Plugin->create(’\Themeco\Corner…’)
#3 /home/gcadmin15/public_html/doubleblessed.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(73): Themeco\Cornerstone\Plugin->resolve(’\Themeco\Corner…’)
#4 /home/gcadmin15/public_html/doubleblessed.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(44): Themeco\Cornerstone\Plugin->setup_services(‘is_admin’)
#5 /home/gcadmin15/public_html/doubleblessed.com/wp-content

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.8.3
Current theme: X (version 9.1.4)
Current plugin: Cornerstone (version 6.1.4)
PHP version 7.0.33

Error Details

An error of type E_ERROR was caused in line 55 of the file /home/gcadmin15/public_html/gaucinaggregate.com/wp-content/plugins/cornerstone/includes/classes/Util/IocContainer.php. Error message: Uncaught Error: Call to undefined method ReflectionType::getName() in /home/gcadmin15/public_html/gaucinaggregate.com/wp-content/plugins/cornerstone/includes/classes/Util/IocContainer.php:55
Stack trace:
#0 [internal function]: Themeco\Cornerstone\Util\IocContainer->Themeco\Cornerstone\Util{closure}(Object(ReflectionParameter))
#1 /home/gcadmin15/public_html/gaucinaggregate.com/wp-content/plugins/cornerstone/includes/classes/Util/IocContainer.php(63): array_map(Object(Closure), Array)
#2 /home/gcadmin15/public_html/gaucinaggregate.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(111): Themeco\Cornerstone\Util\IocContainer->resolve(‘Themeco\Corners…’)
#3 /home/gcadmin15/public_html/gaucinaggregate.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(100): Themeco\Cornerstone\Plugin->resolve(‘Themeco\Corners…’)
#4 /home/gcadmin15/public_html/gaucinaggregate.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(66): Themeco\Cornerstone\Plugin->setup_services(‘preinit’)
#5

Hey @vmars9,

The “call to undefined function” usually is caused by incompatibility with a PHP version. Please contact your web host to upgrade your PHP version to 7.4 then test if the issue will persist.

If that doesn’t help, please post the following info in a Secure Note

  • WordPress Login URL of one of the sites
  • Admin username and password
  • FTP or cPanel credentials (please ask your web host if you’re not familiar with this)

You can find the Secure Note button at the bottom of your posts.

Thanks.

Hello @vmars9,

Your PHP version has not been updated yet.

Please check out the link URL in the secure note below.

Best Regards.

Could this be a cache issue? GoDaddy is showing my PhP as 7.4.
image

Hey @vmars9,

I check your website again and you are still using PHP 7.0.33. I highly suggest that you reach out to your hosting provider for further assistance.

Hope that helps.

GoDaddy’s advanced development team is working on the issue, for some reason the PhP update shows on the server but they are unable to push the update to the Wordpress sites.

Hello @vmars9,

It seems that there is a 7.0.33 PHP version on your server. I checked it by uploading the function file on your server.
https://www.php.net/manual/en/function.phpinfo.php
Please note it is a server-related issue that is beyond the scope of the support. I would suggest you contact your hosting provider to upgrade it.

Thanks for understanding

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