Hi,
The entire front end of my site is inaccessible right now due to a fatal error. I’m at PHP 7.3, Wordpress 5.6, and Pro theme 4.0.11 (using a child theme as well). I’m still able to access the WP admin panel.
The error is:
Fatal error : Cannot declare class Cornerstone_Header, because the name is already in use in /var/www/wp-content/themes/pro/cornerstone/includes/classes/regions/class-header.php on line 3
I’ve seen this elsewhere in the forum, but with no dedicated fix.
Here’s a screenshot:
I developed the site in a Staging environment. In that installation, all was working perfectly (and continues to do so). When I copy the site to a Production environment, the error on the front end pops up. When I log into the WP admin panel of the new Production site, I see that all the content from Staging has been brought over successfully. But when I go to the front end, I see the error on every page.
I know that the Cornerstone plugin is not necessary when using Pro because it’s built into the theme. I deleted the plugin before copying from Staging to Production. However, when I open the site files via FTP, I do see that the “cornerstone” directory remains inside the “wp-content/plugins” directory.
I’ll send URL and WP logins via a secure note.
How can I resolve this error?
Thanks!