Forum Replies Created

Viewing 29 posts - 1 through 29 (of 29 total)
  • Author
    Posts
  • in reply to: Funky PHP Trouble #1470008

    Thanks so much. Please close.

    in reply to: Funky PHP Trouble #1469858

    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

    in reply to: Funky PHP Trouble #1469847

    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

    in reply to: Funky PHP Trouble #1469796

    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

    in reply to: Funky PHP Trouble #1469771

    While doing all this, I also realized that this site is running an older version of the Enfold Parent. (4.x)

    in reply to: Funky PHP Trouble #1469770

    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 or a ? 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.

    in reply to: Funky PHP Trouble #1469637

    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…

    in reply to: Funky PHP Trouble #1469563

    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

    in reply to: Funky PHP Trouble #1469415

    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!
    – Mike

    in reply to: Funky PHP Trouble #1469319

    Before 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?

    in reply to: Funky PHP Trouble #1469270
    This reply has been marked as private.
    in reply to: Funky PHP Trouble #1469264
    This reply has been marked as private.
    in reply to: Funky PHP Trouble #1469243

    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!

    in reply to: Weird Question: Guy Fawkes Mask Avatar #1328241

    Understood, thank you!

    in reply to: HELP: Site down appears, to be theme registration problem? #1327465

    OK, thank you so much!

    in reply to: HELP: Site down appears, to be theme registration problem? #1327327
    This reply has been marked as private.

    No problem – you can close it, thanks!

    Hey! Please ignore. Having a cache issue. Refreshing everything helped.

    The update fixed it! Thank you so, so much!

    This reply has been marked as private.
    This reply has been marked as private.
    in reply to: Icon box issue #1311931

    Hey! So I applied the temporary fix you posted in a different thread and it worked great. Thanks!

    • This reply was modified 3 years, 4 months ago by WiscoLibrary.
    in reply to: Icon box issue #1311921

    Hey! I’m having the exact same problem across a few sites we have using Enfold. Any help would be much appreciated!

    in reply to: Site Down + Error Messages #1261373
    This reply has been marked as private.
    in reply to: Site Down + Error Messages #1260791
    This reply has been marked as private.
    in reply to: Site Down + Error Messages #1260367
    This reply has been marked as private.
    in reply to: Site Down + Error Messages #1260365
    This reply has been marked as private.
    in reply to: Site Down + Error Messages #1260179
    This reply has been marked as private.
    in reply to: Site Down + Error Messages #1259928
    This reply has been marked as private.
Viewing 29 posts - 1 through 29 (of 29 total)