Forum Replies Created
-
AuthorPosts
-
Thanks so much. Please close.
Hey! Never mind, looks like a the upgrade did, indeed, fix things.
I copied the Enfold parent theme folder from a working site with the newest version and pasted it into the /friends themes folder. Then I renamed it “assets” and everything worked. I still have no idea why my predecessor set it up that way. If you don’t see any problems with doing it this way, I’ll just leave it.
Sorry this was so drawn out. Thanks for your time.
– Mike
Hi!
If you have a minute, can you scan over the messages I exchanged with Rikard? I didn’t set up this installation and it looks like it’s using an older method for parent/child themes. When I downgrade the PHP, the setup actually works just fine, and has for years.
That said, I’m happy to re-set it up and upgrade Enfold. But I’m not sure the best way to do that. Can you please walk me through that?
– Mike
Now it shows…
Fatal error: Uncaught Error: Call to undefined function avia_get_option() in /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-content/themes/assets/header.php:6 Stack trace: #0 /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-includes/template.php(810): require_once() #1 /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-includes/template.php(745): load_template(‘/home/customer/…’, true, Array) #2 /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #3 /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-content/themes/assets/index.php(10): get_header() #4 /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-includes/template-loader.php(106): include(‘/home/customer/…’) #5 /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-blog-header.php(19): require_once(‘/home/customer/…’) #6 /home/customer/www/ecpubliclibrary.info/public_html/friends/index.php(17): require(‘/home/customer/…’) #7 {main} thrown in /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-content/themes/assets/header.php on line 6
While doing all this, I also realized that this site is running an older version of the Enfold Parent. (4.x)
Hello!
I activated debug mode in the /friends wp-config.php file and then I changed the theme to twentrytwentytwo, and then I exited Recovery Mode. Then I activated out Enfold Child theme. But I can’t find the debug.log file anywhere. You have FTP access, are you able to locate it?
One new thing. Now when I activate the Enfold child, instead of just not loading, it showed me this:
Deprecated: Creation of dynamic property avia_sidebar::$title is deprecated in /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-content/themes/assets/framework/php/class-sidebar-generator.php on line 34
Fatal error: Unparenthesized
a ? b : c ? d : e
is not supported. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
in /home/customer/www/ecpubliclibrary.info/public_html/friends/wp-content/themes/assets/functions-enfold.php on line 324
There has been a critical error on this website. Please check your site admin email inbox for instructions.Learn more about troubleshooting WordPress.
Hello!
Hmmm. The config file for the /friends installation does not have those constants. I pasted the config file into the Private Content, along witht he child and parent theme paths…
Hi!
I’m able to switch themes and check versions by downgrading the PHP temporarily. I can’t do that for long because it brings our main site down.
Using this method I verified that /friends is using the latest version of Enfold.
I also tested changing the theme to the default twentytwentyfour and when I upgrade the PHP to 8.x the site loads just fine. But when I change the theme back to our Enfold child theme, or the Enfold parent theme, the site breaks and I need to go into recovery mode.
Like I said, I’m not sure why the child theme set up for /friends works, but it does. I’m assuming it’s an older method. But maybe that’s the trouble. If you know an easy way to re-setup the child theme, I’ll try it.
Again, thank you so much.
– Mike
I’m not sure where the theme folder is, either (I didn’t set it all up). But it works. When you downgrade the PHP, the site comes back, using our Enfold child theme.
Tech support at my webhost told me this setup is fine, it’s just an older method of doing it. Since the ecpubliclibrary.info//friends WordPress installation is in a subfolder of the main ecpubliclibrary.info installation, maybe the /friends site is using the main site’s files?
Note: We have two other sites at /kids and /teens — also running the same Enfold child theme, and they work no mater the PHP version being used. However, these sites are set up as you’d expect, with the full Enfold theme installed in each of their theme folders.
Note: when I switch to the basic WordPress twentytwentyfour theme on /friends, it works. It’s only when I activate the Enfold child or Enfold parent that the PHP version causes a problem.
When I down grade the PHP so /friends is restored, the main side goes down, but that is a plugin issue.
I’d be happy to re-setup the /friends site with the expected child theme set up. What’s the easiest way to do that?
Thanks!
– MikeBefore I go through that process…
However it’s set up now, it works when you downgrade the PHP. Maybe it’s using and older style child theme setup?
So even if I redo the child theme setup, won’t I still have the PHP problem?
This reply has been marked as private.This reply has been marked as private.I think so?
I’m in recovery mode and on the themes page under “Broken Themes” it says “This theme failed to load properly and was paused within the admin backend.” If I click Resume, I see an error message: “Theme could not be resumed because it triggered a fatal error.”
I pasted the error log into the Private Content window.
The site still does not load when using the parent Enfold theme and anything higher than PHP 7.4.33
Thanks for your help!
Understood, thank you!
November 2, 2021 at 2:28 pm in reply to: HELP: Site down appears, to be theme registration problem? #1327465OK, thank you so much!
November 1, 2021 at 4:52 pm in reply to: HELP: Site down appears, to be theme registration problem? #1327327This reply has been marked as private.August 16, 2021 at 3:23 pm in reply to: New Color Sections Won't Use Custom Background Color (Enfold 4.8.6.1) #1316972No problem – you can close it, thanks!
August 13, 2021 at 6:57 pm in reply to: New Color Sections Won't Use Custom Background Color (Enfold 4.8.6.1) #1316668Hey! Please ignore. Having a cache issue. Refreshing everything helped.
July 26, 2021 at 8:36 pm in reply to: Background Color Gradient w/ Transparency for Columns Broken in 4.8.4 #1312506The update fixed it! Thank you so, so much!
July 26, 2021 at 5:38 pm in reply to: Background Color Gradient w/ Transparency for Columns Broken in 4.8.4 #1312484This reply has been marked as private.July 26, 2021 at 5:35 pm in reply to: Background Color Gradient w/ Transparency for Columns Broken in 4.8.4 #1312483This reply has been marked as private.Hey! So I applied the temporary fix you posted in a different thread and it worked great. Thanks!
- This reply was modified 3 years, 5 months ago by WiscoLibrary.
Hey! I’m having the exact same problem across a few sites we have using Enfold. Any help would be much appreciated!
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private. -
AuthorPosts