Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #923215

    From error log:

    31076 mrp.uk.com [Wed Mar 07 16:54:12 2018] [error] [client 84.111.37.171:51844] AH01215: PHP Fatal error: Can’t use function return value in write context in /home/sites/mrp.uk.com/public_html/wp-content/themes/enfold/header.php on line 6: /home/sites/mrp.uk.com/public_html/index.php

    Please advise….

    #923234

    Hey ruffidea,

    Apologies for the inconvenience. Please try updating the version of PHP you are currently running. Or, if that does not work, please update your header.php file with the following:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_2_6/header.php

    Best regards,
    Jordan Shannon

    #923433

    Thank you

    Switched PHP version to 5.6 then 7 – niether worked.
    Installed your header.php – that didn’t work.

    Still get same error in error log:

    13151 mrp.uk.com [Wed Mar 07 19:39:00 2018] [error] [client 85.255.233.65:39060] AH01215: PHP Fatal error: Can’t use function return value in write context in /home/sites/mrp.uk.com/public_html/wp-content/themes/enfold/header.php on line 6: /home/sites/mrp.uk.com/public_html/index.php

    #923435

    Hi,

    Okay, thank you for trying that. Please let me check with my colleagues on other ideas.

    Best regards,
    Jordan Shannon

    #923451

    Thank you……

    #923453

    Hi!

    Could you please post FTP logins here privately as well?

    Cheers!
    Yigit

    #923470

    Im getting the same after updating to your latest theme version. It worked absolutely fine until I applied that patch. I can see you have several other posts on here with the same issue.

    I’ve used the header solution posted here which seems to fix the issue. But its a temporary fix.

    Clearly you have sent out a update that breaks installs. What’s going on?

    • This reply was modified 6 years, 8 months ago by bluetype.
    #923474

    Hi,


    @bluetype
    If you have replaced header.php file, you have applied permanent fix. Issue occurs on PHP versions older than 5.6. We have updated header.php file to make it backwards compatible with older versions however we still would recommend you to upgrade PHP version to 7.x. Here is a good read – https://kinsta.com/blog/php-7-hhvm-benchmarks/ :)

    Best regards,
    Yigit

    #923666

    Good morning
    Sure, FTP details in private box.

    Thank you….

    #924148

    I had the same issue and updated my PHP to v7 within my cPanel and it fixed it immediately. Maybe try clearing cache and/or try updating it through your cPanel if you can?

    #924160

    All working now – thank you.

    #924177

    Hi!


    @hnibnews
    Thanks for your input! :)

    You are welcome! :)

    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 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Took latest update – now site has white screened. PLEASE HELP’ is closed to new replies.