Tagged: critical error, enfold, theme update
-
AuthorPosts
-
December 2, 2024 at 3:48 pm #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.”
December 2, 2024 at 8:45 pm #1472745Hey 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,
RikardDecember 3, 2024 at 4:42 pm #1472785This reply has been marked as private.December 3, 2024 at 5:51 pm #1472800Hi,
Thanks for that. Does the error go away if you remove your modification?
Best regards,
RikardDecember 4, 2024 at 5:14 pm #1472935Hi Rikard,
No, the opposite happens. The error occurs without the modification and goes away with the modification.December 4, 2024 at 8:43 pm #1472950Hi,
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,
RikardDecember 5, 2024 at 11:04 am #1472992Just 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)December 5, 2024 at 1:58 pm #1473013 -
AuthorPosts
- You must be logged in to reply to this topic.