Theme activation critical error

Error message on my site reads:

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

There has been a critical error on this website.

I’ve tried updating PHP version to 7.4, 8.0, and 8.1 but that does nothing.

Hi Adrien,

The issue you are having mostly happens due to the PHP version. I would suggest you make sure that the PHP version should be 7.4. If you have already tested with it but the issue does not resolve, please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password
– FTP/CPanel credential to access the files

To create a secure note, click the key icon underneath any of your posts.

Thanks

I’ve added the requested information in a secure note to my first post. As you’ll see when you access, the PHP version is already 7.4 and I’ve tried 8.0 and 8.1 as well with no luck.

Hey Adrien,

Once we entered your hosting provider, it is asking for a code. ( Please see secure note for more information ). On the other hand, you could just provide us with the WP credentials and FTP access.

Hope that helps.

I’ve provided FTP credentials in a secure note attached to my first post.

Hello Adrien,

I checked your site by uploading a PHP file and it seems that your site server’s PHP version is 5.6.40. I would suggest you please contact your hosting provider to upgrade the PHP version to 7.4 as per our version compatibility page. Please note it is also recommended by WordPress as well. Please have a look at this article.

Thanks

Thanks for that information. I was able to contact the hosting provider and figured out that the controls in the dashboard for updating PHP version were not being saved/accepted so that was fixed and now I’m able to update the PHP version as necessary.

I’ve updated to 7.4 and the website/theme is working again as expected.

Thanks for your patience and help on figuring this out - very much appreciated!

Hey Adrein,

We’re glad that it is now working properly on your end! 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.