Tagged: , ,

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1250739

    After the Enfold Update, the site crashes. I had to restore it back. Errors after update

    foto
    Screenshot: https://monosnap.com/file/kxV5Fl5KhHYXy5GBzTWFFSlHXzhvcm

    site: https://www.ulovanet.ru/

    • This topic was modified 4 years, 1 month ago by Konstantin.
    #1250945

    Hey Konstantin,

    Are you trying to add some code to that file?
    Image 2020-10-06 at 21.39.10.png

    Can you make a screenshot of the whole page with the error?

    Which version of php are you running?

    Best regards,
    Victoria

    #1251025

    I updated the theme, everything was fine with no errors.
    Then I needed to add this code to functions.php:

    After the line:
    if (isset ($ avia_config [‘use_child_theme_functions_only’])) {return; }

    I added:
    // set builder mode to debug
    add_action (‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug ()
    {
    return “debug”;
    }

    After that, an error occurred. Even after removing this code, the error remained.

    PHP version at that time was 7.2
    Now the version has been updated to – 7.4.

    After that, I rolled back all my actions and no longer tried to update the topic. I decided to write to you first, ask …

    #1251299

    Hi,

    Thanks for the update. I see that you have added the code back to functions.php, and debug mode is working when editing pages. I’m guessing you managed to get this working?

    Best regards,
    Rikard

    #1251305

    Unfortunately NO, it didn’t help. I rolled back the theme update. If you update Enfold, then the error can be repeated ((

    #1251626

    Hi,

    Ok, can we try that out on your site then? Also, why are you not running a child theme? If you did then you would have to add the code back after updates.

    Best regards,
    Rikard

    #1251636

    I won’t write much, I’ll tell you straight: I can’t! I have long wanted to deal with this issue on the Child Topic ((I don’t understand how to do this.

    So after the Enfold Update all the changes and additions have to be added manually ((

    Yes, of course, you can try it on my site. thanks

    #1251815

    Hi,

    Thanks for the update. I’m getting the same error when trying to add the debug code after updating unfortunately, I’m not sure why that is though. I would suggest that you try installing a child theme first, it’s not difficult: https://kriesi.at/documentation/enfold/install-enfold-theme/#why-child-theme. After you have activated the child then go to Enfold->Import/Export and import the settings from your parent theme. If your settings or CSS should not apply then please change a setting in the options and save again. Also make sure that the option to delete the old CSS and JS files is activated under Enfold->Performance. After that then you can try to add the code in question to the functions.php file in your child theme.

    Best regards,
    Rikard

    #1264151

    I did everything as you said. Nothing helps. Mistake.

    Due to this, I cannot Update the Enfold theme ((

    https://prnt.sc/vtc6rz
    https://prnt.sc/vtc8c9
    https://prnt.sc/vtc9uk
    https://prnt.sc/vtca2s

    #1264372

    Hi,

    Thanks for the update. So when exactly are you getting these errors? Please try to be as specific as possible. Also you have code which you don’t need, and text which is not commented in your functions.php file:

     if( isset( $avia_config['use_child_theme_functions_only'] ) )	{	return;		}
    
    Добавить:

    Try removing that first of all.

    Best regards,
    Rikard

    #1264424

    First, I have never installed Enfold Child. After each update of the Enfold theme, I added all the changes in the code manually.

    The error occurred immediately after I added this code in Function.php:

    // set builder mode to debug
    add_action (‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug ()
    {
    return “debug”;
    }

    I have given you temporary access. As I understand it, you got the same error. You recommended that I install Enfold Child, which I did. But the error is still present.

    I can completely remove all unnecessary code from Function.php, but that doesn’t solve my problem in any way. I’ve already tried ((

    I removed the extra code. Uncommented removed too.
    Screenshot: https://prnt.sc/vu25vb

    Изменения кода только в этих файлах:
    1. Function.php
    2. loop-comments.php
    3. loop-index.php
    4. postslider.php
    5. Single.php

    #1264667

    Hi,

    I tried removing the code which you are claiming to cause the problem, and the same error message still occurs after that. Please try to remove all the code from your child theme, then add the customisations back one by one to see which of them is causing the problem.

    Best regards,
    Rikard

    #1264691

    I have removed all modified code from Enfold Child. It did not help.

    https://prnt.sc/vus62c
    https://prnt.sc/vus78w
    https://prnt.sc/vus7w3

    #1264923

    Hi,

    Then something must be corrupt in the parent theme. Please try to completely delete the parent theme files, then upload a fresh copy with you can download from your Themeforest account.

    Best regards,
    Rikard

    #1264952

    Now on the site Enfold version – 4.7.6.3. Everything works perfectly. But if I upgrade to Version 4.7.6.4 – Everything breaks.

    Do you think it makes sense to do it again?

    https://prnt.sc/vvh00s

    I forgot to say that I still have css added to the custom.css file. This probably can’t be a problem?

    I completely uninstalled Enfold and installed it again. To no avail. As I understand it, it’s not about Enfold Child, but about Enfold.

    #1265166

    Hi,

    Thanks for the update. If this was a general problem with the theme then all users would have it. That is not the case, you are the only user with this problem as far as I know. If everything works running the previous version of the theme, then I would advise that you keep running that.

    Best regards,
    Rikard

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