Critical error on my website

QuestionsCategory: Error MessagesCritical error on my website
Stephanie Spillmann asked 4 years ago

Hi there,
I installed the Hello Boss theme on my site a year ago. It’s worked great for a long time and now it’s producing a “critical error on your website” message and not letting me into the backend of my WordPress site.

I’ve already had my hosting company (Flywheel) help me get into the dashboard so I could update my Hello Boss theme to the latest version.
Now I’m locked out again. There’s something really wrong here with the theme. My hosting techs could at least see that part of the problem. They’re certain that it’s the theme causing the error and not WordPress debugging etc.
I’ve also got all plugins updated. And this is still giving me trouble.
Thanks for any help.
Here’s my website:
https://pacificmediadesign.com/

1 Answers
Support Team Staff answered 4 years ago

What is the error?  Is Genesis updated?  All the demo sites are running the latest php, WordPress and genesis, so it is not likely the theme.  Did you add any custom php to the theme?  If you would like we can make this private and get your login info.

Stephanie Spillmann replied 4 years ago

I don’t mess around with the php, so nothing has been changed on that.

Yes, let’s make this private and then I can give you a login — although it’s not letting me log in due to this “critical error on my website”… so I’m not sure how much the login info will help you.

Here are the Error Details that are in the email sent from WordPress:

”Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 14 of the file /www/wp-content/themes/genesis<wbr />/lib/admin/widget-import.php. Error message: Namespace declaration statement has to be the very first statement or after any declare call in the script

Support Team Staff replied 4 years ago

That error is saying it is from the Genesis framework. Are you sure that is the latest version? We would need the hosting login if the admin dashboard is not accessible.

Support Team Staff replied 4 years ago

Just made this private

Stephanie Spillmann replied 4 years ago

Okay, I’m in the car. Let me get to my computer and get the login in a little bit.

Stephanie Spillmann replied 4 years ago

Since the issue is with Genesis, I’ll go ahead and open up a support ticket with StudioPress. It is curious why my site is accessible as soon as I switch away from the Hello Boss theme (to the generic 2020 theme) and then it breaks as soon as I activate Hello Boss again. Is that due to Genesis being the framework for you theme?

Support Team Staff replied 4 years ago

Yes, it is because the theme is a Genesis theme. So once you activate boho, it also activates Genesis and throws that error. I would try removing the copy you have and installing a fresh copy of Genesis.

Stephanie Spillmann replied 4 years ago

Hi there,
That worked perfectly! Fresh install of Genesis and all is good.
Thank you!!!

Support Team Staff replied 4 years ago

Perfect. I’m going to make this public in case anyone else runs into the issue, they will be able to reference this.