-
AuthorPosts
-
May 3, 2019 at 2:56 pm #1096919
Hi,
I have a fresh install of WP 5.1.1 and installed the latest Enfold today 5/3/2019 from themeforest (not sure the version). WordPress installed fine, but when I upload Enfold either through the browser of delete it and upload again by FTP and activate, the site crashes and am getting this error.
Fatal error: Can’t use function return value in write context in /var/www/virtual/swopemanornew.com/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 31
I’ve done this several times and even created new databases starting from scratch but no help. Can you please check it?
Thank you.
May 4, 2019 at 7:31 am #1097109Hey yes9310,
Sorry for the problem, do you know which version of PHP you are running on the site? We recommend using 7.1 or higher.
Best regards,
RikardMay 4, 2019 at 5:50 pm #1097269Thanks, No, I can’t get into the site to see what the version is on my co-hosted server, but when I updated wordpress it did say that I was using an older version of PHP, though that hasn’t affected any of my other sites using Enfold with the latest updates to wordpress.
- This reply was modified 5 years, 7 months ago by yes9310.
May 4, 2019 at 7:22 pm #1097286Hi yes9310,
You’re still using PHP 5.4.45, please upgrade it to the version Rikard recommended and the issue should be fixed.
Best regards,
NikkoMay 5, 2019 at 4:10 am #1097341Thanks! Telling tech support now.
- This reply was modified 5 years, 7 months ago by yes9310.
May 5, 2019 at 10:33 am #1097378Here’s what tech support told me about upgrading PHP.
I was able to login but I’m afraid this is going to involve much more than just a simple update to php. If you go to easyscp.net, you’ll see the most recent news post on their front page where they just added php 7 support in the latest release candidate 2.1.0 Build 20180216. It then mentions in red, “Note: This Version is currently for fresh installations only. A upgrade version will come soon.” Your current version is 1.1.15. At the very least, we would have to completely remove your current version of easyscp, install this new version and then resetup your databases and websites. There is always the chance that doing this in place on your existing server could result in many problems and extensive downtime. Additionally, such work would absolutely involve professional services time and charges. At this point in time, it might be ideal to consider upgrading to a new server altogether and migrating the sites over. I would not recommend doing this on your current production environment. Please review the easyscp website including it’s forums and let me know how you would like to proceed.
May 6, 2019 at 2:40 am #1097539Hi yes9310,
I think you won’t have any issues since you also have mentioned that this is a fresh installation.
Also running an obsolete version of php would give you more issues later on as plugins and themes are moving forward and would be incompatible.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.