Fatal Error after Upgrading from X to Pro

Fatal error: Cannot redeclare x_render_bar_module() (previously declared in /home/sunnysi4/public_html/wp-content/themes/pro/framework/functions/pro/bars/helpers.php:25) in /home/sunnysi4/public_html/wp-content/plugins/cornerstone/includes/elements/helpers.php on line 36

I have updated Wordpress and X theme before the upgrade. PHP is 7.2.

I can’t even get to the admin panel now.

Can someone please help urgently?

Hi there,

The problem you are experiencing is because that you still have the Cornerstone plugin activated which you should delete as you will not need that anymore and instead you have the Pro Editor which is part of the theme and not a separate plugin.

So simply go to the plugins folder of your website via FTP and delete the cornerstone folder from there.

By the way at the time being it is recommended that you use the version 7.1 of the PHP as the version 7.2 is relatively new and needs time to mature enough.

Thank you.

Thank you! That worked.

When researching the change from X to Pro the documentation said that it would turn off Cornerstone automatically just FYI.

Hi there,

That is usually the case. In some cases it might not work because of the manual installation or the server restrictions.

Glad that you managed to fix the issue :slight_smile:

Thank you.

1 Like

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