Cornerstone Fatal Error 106

I just updated Cornerstone and it crashed my website. Later, I updated X Theme to the last version and reinstalled Cornerstone. But now, it is giving me this error when I try to activate Cornerstone:

Fatal error : Uncaught Error: Call to undefined method ReflectionType::getName() in /home/ascomerc/amfrirecords.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/ascomerc/amfrirecords.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(117): array_map(Object(Closure), Array) #2 /home/ascomerc/amfrirecords.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(137): Themeco\Cornerstone\Plugin->create(’\Themeco\Corner…’) #3 /home/ascomerc/amfrirecords.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(73): Themeco\Cornerstone\Plugin->resolve(’\Themeco\Corner…’) #4 /home/ascomerc/amfrirecords.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php(44): Themeco\Cornerstone\Plugin->setup_services(‘is_admin’) #5 /home/ascomerc/amfrirecords.com/wp-content/plugins/cornerstone/includes/boot.php(27): Themeco\Cornerstone\Plugin->initialize(A in /home/ascomerc/amfrirecords.com/wp-content/plugins/cornerstone/includes/classes/Plugin.php on line 106

I also tried to delete the Cornerstone folder under /wp-content/plugins/ folder. Same error.

Hello Alfredo,

Thanks for writing in! Could you please update to the latest versions?
Our latest versions are:

  • X theme 8.3.3
  • Cornerstone 5.3.3
  • WordPress 5.7
  • PHP 7.4

This latest release contains fixes for several issues so be sure to check out the changelog:

After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

It could also be caused by a plugin conflict, amongst other things. Please check out this troubleshooting article here and follow the instructions for the following sections (where appropriate):

Testing for Plugin Conflict
Theme Update
Child Theme
CSS/JS Customization
Increasing PHP Memory Limit
Disabling Cache
Disabling CDN

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Please let us know how it goes.

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