Problem after updating PRO

Hello,
Ater updatting pro to 4.0 to 4.3, i can’t get acces to backoffice (critical error), here’s the error detail :

Une erreur de type E_ERROR a été causée dans la ligne 106 du fichier /home/avironim/www2/wp-content/themes/pro/cornerstone/includes/classes/Plugin.php. Message d’erreur : Uncaught Error: Call to undefined method ReflectionType::getName() in /home/avironim/www2/wp-content/themes/pro/cornerstone/includes/classes/Plugin.php:106
Stack trace:
#0 [internal function]: Themeco\Cornerstone\Plugin->Themeco\Cornerstone{closure}(Object(ReflectionParameter))
#1 /home/avironim/www2/wp-content/themes/pro/cornerstone/includes/classes/Plugin.php(117): array_map(Object(Closure), Array)
#2 /home/avironim/www2/wp-content/themes/pro/cornerstone/includes/classes/Plugin.php(137): Themeco\Cornerstone\Plugin->create(’\Themeco\Corner…’)
#3 /home/avironim/www2/wp-content/themes/pro/cornerstone/includes/classes/Plugin.php(73): Themeco\Cornerstone\Plugin->resolve(’\Themeco\Corner…’)
#4 /home/avironim/www2/wp-content/themes/pro/cornerstone/includes/classes/Plugin.php(44): Themeco\Cornerstone\Plugin->setup_services(‘is_admin’)
#5 /home/avironim/www2/wp-content/themes/pro/cornerstone/includes/boot.php(27): Themeco\Cornerstone\Plugin->initialize(Array)
#6 /home/avironim/www2/wp-content/themes/pro/fra

How to fix this error ?

Hello @Lyser,

Thanks for writing to us.

It might be the issue of version compatibility. Please make sure your WordPress, plugin, and the PHP version are updated as per our version compatibility. Please make sure your PHP version is 7.4 or 7.4 plus. It also recommended by WordPress as well. Please have a look at this article.

After updating the PHP version if the issue still persists, I would suggest you troubleshoot with a few of the common issues before we investigate your settings.

  1. Testing For Theme Related Issue
  2. Testing For Plugin Conflict
  3. Theme Update
  4. Child Theme
  5. Css/Js Customization
  6. Increasing Php Memory Limit
  7. Disabling Cache
  8. Disabling Cdn
  9. Permalinks
  10. Version Compatibility

If none of those work, It would be best if you could copying your live website to your staging area. and send your details in a secure note so that we can investigate your setting without breaking your live site. Please provide the following details

  • WordPress Login URL
  • Admin level username and password
  • FTP Details

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

Thanks

Thx Prakash,
Yes the php version is not up to date, because it could cause problem to update it with the old actual website who is not a wordpress, (the wordpress/pro website who got this error will replace it soon, they’re both on same server), so could it be possible to go back to version 4.0 of pro ?
Php could be updated once the wordpress version will go live (and then updating pro too)

Hello @Lyser,

You can restore the backup of your site or you can ask your hosting provider to restore the site back up on the previous date.

Thanks

Ok, thank you for your help.

Hello @Lyser,

Glad that we were able to help you. Please feel free to reach us if you have any queries regarding our theme and theme settings.

Thanks

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