Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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

    #1330510

    Hey 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,
    Yigit

    #1331868

    Hi 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..

    #1331915

    Hi,

    Thanks for the update, we’ll keep this thread open for you.

    Best regards,
    Rikard

    #1331951

    If 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.

    #1331998

    Thanks 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

    #1332001

    Hey,

    Could you please post FTP logins here privately as well? :)

    Regards,
    Yigit

    #1332003

    Ahh.. sorry.. forgot that one

    • This reply was modified 2 years, 11 months ago by joax.
    #1332011

    Hi,

    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,
    Yigit

    #1332024

    hm – i can not believe this – but there are topics concerning to this already.

    nor:

    leads on my installation to any conflict – with php8 or php7.4
    i can not imagine the reason why. very strange

    #1332319

    Thanks 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..

    #1332334

    Hi,

    You are welcome!

    We hope that was the last PHP 8 related issue :)

    Let us know if you have any other questions and enjoy your weekend!

    Best regards,
    Yigit

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