Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #995571

    I’m updating from an older version of Enfold (3.5.4) to the current version. I’ve upgraded the site’s PHP, and the new theme works in my WP Engine staging area. When I push the staged site live, I get 500 errors that shut down the front and backend of my website, and need to have it restored to its prior version by my hosting company.

    Here’s my first error, which based on another thread, recommended removing the file.

    PHP Fatal error: Cannot redeclare av_countdown_events_fallback() (previously declared in /txsvf.org/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/events_countdown.php:16) in /txsvf.org/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown.php on line 8

    After removing the events_countdown.php, I received a very similar error.

    Fatal error: Cannot redeclare av_upcoming_events_fallback() (previously declared in /nas/content/live/spengleragans/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php:15) in /nas/content/live/spengleragans/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming.php on line 10

    I deleted the parent theme entirely, and installed a new version directly. I then received the first error after pushing the staged site to live. Any thoughts would be much appreciated. Please let me know if you need any other info.

    #995723

    Hey spengleraganslaw,

    DO we have permitting to delete files and upload again?

    Best regards,
    Basilis

    #995782

    Yes, please do what is needed.

    #996051

    Hi spengleraganslaw,

    You need to remove this file as well
    nas/content/live/spengleragans/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming.php

    It is better if you upload the theme via FTP, some files moved around and the update process probably did not delete the old copies, so this time you need to reupload the whole theme via FTP.

    Best regards,
    Victoria

    #996217

    I had the same issue updating to 4.4.1 from a few versions back. First tried to update via the WPress backend but got error that there was a missing URL. Then updated with FTP and got the fatal error similar to what is noted above.

    I removed the “config-templatebuilder/avia-shortcodes/events_upcoming.php” and “config-templatebuilder/avia-shortcodes/events_countdown.php” that were not inside other folders, and now it works.

    I don’t understand why if I uploaded the entire Themes/Enfold folder that it didn’t replace the entire folder, but instead left old files in there. Now I wonder if there are other old files in there that are no longer needed. Just curious, as everything is working.

    #996260

    Hi,

    Ftp won’t delete existing files but it will just overwrite files if the file names match. I’d recommend to rename the old theme folder to enfold_bak, then upload the new theme folder “enfold” to wp-content/themes. Then test the website and if everything works you can delete the enfold_bak folder.

    Best regards,
    Dude

    #996304

    Good to know. Thanks!

    #1006378

    Hi, if you do as Dude suggests, rename existing theme folder, FTP the new theme entitled enfold, then delete the old theme folder, what happens to the theme customizations? Aren’t those lost when you replace the theme folder?

    I have an enfold 3.2 site running php 5.6 that I am trying to update via the admin panel and get the missing URL error that jh100 referred to.

    Thanks for any advice.

    #1006401

    Peylon: I had custom CSS in the Quick CSS as well as in the custom.css file. I found that the Quick CSS was still there after FTPing the new theme folder (copy the quick css code first though just in case).

    I replaced the custom.css file in the new Enfold folder with the custom.css file from the old folder so my customizations were all there. I didn’t have any customizations elsewhere. Everything seemed to work fine after doing that.

    #1006451

    Hi,

    Thanks for sharing @jh100. Where have you customised the theme @pelyon? If you have everything in your child theme then you should not lose anything on updates, though I would suggest that you keep proper backups of the site in case something should go wrong.

    Best regards,
    Rikard

    • This reply was modified 6 years, 2 months ago by Rikard.
    #1006467

    Hi, I only customized Enfold in the Theme options area. Will these customizations survive the update process previously described? I have no child theme. Every time I install and activate a child theme, the theme options I use don’t transfer from the parent Enfold to the child. Do you provide a preconfigured child theme I can use? Thank you!

    #1006489

    Hi pelyon,

    Ok, then it should be safe for you to update, but please keep backups if something should go wrong.

    If you are switching from parent to child then you need to export and import the theme settings for them to apply, the child theme doesn’t come with any configurations to it.

    Best regards,
    Rikard

    #1006761

    Hey Rikard, last question: What’s the best procedure to export and import the theme settings to the child theme? Thanks again!

    -Pelyon

    #1006781

    Hi,

    Have you tried wp-all-in-one migration plugin? This is perfect for backing up and importing all backend settings.

    Best regards,
    Jordan Shannon

    #1006786

    Hi Jordan, no I have not, but it reads like a solid backup solution. For backups I use Akeeba Backup for my wordpress and joomla sites, and have had good success with it. Site backups are not my current issue, I just want to update my version of Enfold, and have a child theme in place before I do . Thanks for the tip though!

    #1006895

    Hi Pelyon,

    You should be able to import and export the theme settings in the theme options, did you check that out?

    Best regards,
    Rikard

    #1007307

    Hi,

    Is the idea to export the config file from the enfold theme, then save the config file to the child theme? Any documentation available on this would be much appreciated. Thanks for your patience with me.

    -Pelyon

    #1007360

    Hi Pelyon,

    Yes, that is exactly what you would be looking to do. Activate the parent then export the theme settings. After that you can activate the child and import the exported settings. If they don’t apply then simply save one of the child theme settings and save again, they should apply correctly after that.

    Best regards,
    Rikard

Viewing 18 posts - 1 through 18 (of 18 total)
  • You must be logged in to reply to this topic.