-
AuthorPosts
-
March 7, 2018 at 7:00 pm #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….
March 7, 2018 at 7:15 pm #923234Hey 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 ShannonMarch 7, 2018 at 11:14 pm #923433Thank 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
March 7, 2018 at 11:19 pm #923435Hi,
Okay, thank you for trying that. Please let me check with my colleagues on other ideas.
Best regards,
Jordan ShannonMarch 7, 2018 at 11:33 pm #923451Thank you……
March 7, 2018 at 11:40 pm #923453March 8, 2018 at 12:17 am #923470Im 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.
March 8, 2018 at 12:22 am #923474Hi,
@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,
YigitMarch 8, 2018 at 9:24 am #923666Good morning
Sure, FTP details in private box.Thank you….
March 8, 2018 at 10:27 pm #924148I 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?
March 8, 2018 at 10:52 pm #924160All working now – thank you.
March 8, 2018 at 11:51 pm #924177Hi!
@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 -
AuthorPosts
- The topic ‘Took latest update – now site has white screened. PLEASE HELP’ is closed to new replies.