bhadaway / blankslate

A naked WordPress theme, powering over 10k websites. Buy me a sandwich. 🥪
https://opencollective.com/blankslate
325 stars 92 forks source link

Error when upgrading to the latest theme #43

Closed iainelite closed 2 years ago

iainelite commented 2 years ago

Once we upgrade the site shows a basic wireframe. (attached). Also, the following error was found.

WARNING: [pool site-elitetransit.com] child 48 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_field() in /www/wp-content/themes/blankslate/header-home.php:20"”

contact capture

bhadaway commented 2 years ago

Uh oh, sounds like you overwrote your theme.

Did you originally design your site or did someone do that for you?

Do you know if they used a child theme?

iainelite commented 2 years ago

Someone else designed our site. We simply upgraded and it broken, we restored a backup, so we are ok ...but stuck on an old theme.

Thanks

bhadaway commented 2 years ago

Since your designer didn't use a child theme, you won't be able to upgrade, as this overwrites all their customizations.

Options:

  1. Just ignore the upgrade nag.
  2. Edit the theme and make the version number a big number like 9999 to disable the upgrade nag or outright change the name of the theme to reflect the custom project (what I personally recommend).
  3. Have your designer or someone new move all the customizations over to a child theme and then you'll be able to upgrade.
iainelite commented 2 years ago

Sir,

Thanks for getting back to me so promptly with the details. I am going to pass this information along to my marketing department to work out.

bhadaway commented 2 years ago

You're welcome and sounds good.