Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #921922

    Hi there,

    I have the same v4.2.5 white screen issue on a lot of my client sites that I maintain for them via wpsitedr.com – they all use Enfold. Updating the theme creates a white screen on the front end, the back end still works ok.

    To troubleshoot and resolve this, I first set WP_DEBUG to True in the wp-config.php file. This shows the error instead of a white screen:

    Fatal error: Cannot use object of type WP_Error as array in /userpath/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/asset-manager.class.php on line 265

    I deleted Enfold and uploaded it fresh from the latest download from ThemeForest, and the error still occurs.

    To troubleshoot (and it seems to fix the issue), I commented out the line using “//” with the error and a few more lines following the logic of the file:

    
    //                                        $request['body'] = trim($request['body']);
    //                                        $filecontent = trim($filecontent);
    
                                            //if the content does not match the file is not accessible
    //                                        if($filecontent !== $request['body'])
    //                                        {
                                                    $file_created = false;
    //                                        }
    

    Notice that I left $file_created = false; NOT commented out… I think this causes the theme to then create a file, or something to help the issue, because I then reinstalled the theme again, and have since just removed those comment “//” marks, and then the theme no longer gives the error, and it works normally.

    I read a few different support forum threads about deleting the config-templatebuilder folder, or other folders, and upload the theme fresh, and none of those worked for me.

    With the above method, I am on v4.2.5 of Enfold and it is now working, once I comment out those lines, and then uncomment out those same lines, for multiple client sites, all using Enfold and all experienced the white screen issue upon updating the theme, and still after a delete and fresh install of Enfold too.

    The v4.2.5 version definitely needs to be fixed to fix the issue better than needing to adjust a theme file to get it to not generate this error, and I’m surprised this was not caught earlier, and a v4.2.6 fix is not already released – I hope the Enfold team can address it ASAP.

    #921931

    Ah, I’ve noticed the moderators have included a patch, to replace the file with the issue:
    asset-manager.class.php

    Replace that file with this version, which will be released in the v4.2.6 update coming out soon:
    https://pastebin.com/JpStScD0

    I’ve confirmed that this fixed the white screen issue.

    Thanks,
    Rob
    https://wpsitedr.com/

    #921950

    Hi,

    Glad you figured it out and thanks for sharing your solution! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Enfold 4.2.5 White Screen – Freshly Installed Still Broken’ is closed to new replies.