-
AuthorPosts
-
November 25, 2021 at 5:09 pm #1330507
I love Enfold.. but you guys have cost me a ton of unnecessary work the past month.. lots of sites crashing after updating the theme or after automatic updating of PHP to version 8 from the host..
Not cool.. please get your act together :-/
And don’t get me those dumb “have you tried this ..” replies.. this should’ve been fixed and tested months ago :-/
Still nothing but love.. but please fix this
November 25, 2021 at 5:55 pm #1330510Hey Joax,
Thanks for contacting us and sorry for the inconvenience!
Could you please point out the issues you had so we can look into them?
Currently there is no PHP 8 related issue that we are aware of. Ever since it became available in Mamp Pro, I have always used PHP 8 to test our upcoming versions and I use it for every installation on my localhost. There could be something we might have missed but as I mentioned, we are currently not aware of any existing PHP 8 related issues. If there is a crashed site at the moment, we would love to look into it :)
Best regards,
YigitDecember 7, 2021 at 3:38 pm #1331868Hi Yigit,
Got no crashed one currently, it happens right after updating the theme tho.. I run into it again i’ll get back to you..
December 8, 2021 at 4:57 am #1331915Hi,
Thanks for the update, we’ll keep this thread open for you.
Best regards,
RikardDecember 8, 2021 at 12:05 pm #1331951If you got some snippets in your child-theme functions.php – you had to look for:
$(window).load(function(){ // It is deprecated in php8 ( because jQuery is now 3.5.1 and later) now and it must be used: $(window).on('load', function(){ // this here too: .click(function () { // had to be replaced with: .on('click', function () {
_________
php8 comes along with jQuery 3.5.1 and these are such common stumbling blocks that experienced web designers think about before updating. ;)Also, a popular mistake is updating the themes but not updating the child-theme substitutes you wrote for the older version. This is what happened with the footer.php. Some new features were added there, which then could not work with an older child theme version.
My advice in this context is to turn off the automatic updates anyway and keep up manually.
I now had the case with a customer that the provider upgraded to Debian Bullseye (09 October 2021) . This would not be a problem except for the fact that Bullseye actually only comes with Apache 2.4 commands. So suddenly modules were missing that some plugin (still) needed. All things you have to read before to update afterwards. Or – you have a test site on which you can fathom such things wonderfully.
Customer sites – especially those with store systems – I always completely secure before with Duplicator Pro – to be able to perform a rollback if necessary.December 8, 2021 at 3:53 pm #1331998Thanks Guenni.. but there’s no Child theme active.. I’m quite the experienced webdesigner (20+ years.. haha) :-P but I try to stay away from everything that’s code except CSS :-P
I got another one.. discussed it with the client I can leave it crashed for today since it’s only a coming soon page
December 8, 2021 at 4:33 pm #1332001December 8, 2021 at 4:36 pm #1332003Ahh.. sorry.. forgot that one
- This reply was modified 3 years ago by joax.
December 8, 2021 at 5:04 pm #1332011Hi,
Thanks for the information!
It seems like this issue was related to avia_blog.php file which was already fixed and will be included in upcoming version
fixed: PHP bug with sprint format %s S
I updated /enfold/includes/admin/option_tabs/avia_blog.php file on your installation and that helped. We are going to release the new version very soon however in case you are going to need updated file for your other installations, you can find it here – https://pastebin.com/esbpnDYq :)
Best regards,
YigitDecember 8, 2021 at 7:26 pm #1332024December 10, 2021 at 1:48 pm #1332319Thanks Yigit!!
@Guenni007 if it was a bug that was triggered on every Enfold site out there no matter the server configuration it already would have been fixed of course.. Over the past years I probably build over 200 Enfold sites with my buddies and most of em are doing fine on php8..December 10, 2021 at 3:31 pm #1332334 -
AuthorPosts
- You must be logged in to reply to this topic.