Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1472721

    Hi support, please see the problem we are encountering and the temp fix of my colleague.

    “If at Enfold > Theme Options > Performance CSS file compression and merge and JS file compression and merge are turned off, then in /home/websitename/public_html/wp-content/themes/enfold/includes/helper-assets.php $which_files is a string instead of an array. And that string then contains the value “”none“”. I have now applied a workaround so that it no longer crashes at that point, but this is something that should be raised with the creators of Enfold. The workaround needs to be reset with each theme update. Permanent fix will have to come from Kriesi.”

    #1472745

    Hey bonsaimedia,

    We haven’t seen that problem on any of our test installations, and no other users have reported it either. Do you have step by step instructions on how to reproduce the results that you are seeing on your end?

    Best regards,
    Rikard

    #1472785
    This reply has been marked as private.
    #1472800

    Hi,

    Thanks for that. Does the error go away if you remove your modification?

    Best regards,
    Rikard

    #1472935

    Hi Rikard,
    No, the opposite happens. The error occurs without the modification and goes away with the modification.

    #1472950

    Hi,

    Thanks for the update. We haven’t seen this before like I stated earlier, so if you have instructions on how to reproduce it, then that would be appreciated. Also make sure to update to Enfold 6.0.8.

    Best regards,
    Rikard

    #1472992

    Just upgraded Enfold to 6.0.8 and the issue is back, because our workaround is gone.
    Setup:
    1 networksite with 7 sites
    All using their own child theme of Enfold, but disabling them didn’t help.

    Don’t know how more precise we can be on how to reproduce it.
    A multisite, for which we get a critical error when that one line we added isn’t present.

    I’ve added a little code dump in the beginning of the function that gives the problems (before my workaround fix)
    $which_files is a string with the value none
    (Whereas the code expects it to be an array)

    #1473013

    Hi,

    Thanks for that. I’ve talked to our developers and they say that your fix will do no harm, so if things are working otherwise for you, then please add your fix back. This will be implemented into core in the next theme release.

    Best regards,
    Rikard

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