Hi All,
Ive started getting the following error … anyone know how to fix it?
[17-Mar-2018 20:44:24 UTC] PHP Fatal error: Can’t use function return value in write context in /home/squarecreations/ashover.squarecreations.co.uk/wp-content/themes/vantage/inc/sliders.php on line 112
regards
John
Hi John
Do you have any idea which version of PHP your server is running? This could be found out by logging into your server via FTP OR File Manager (cPanel) etc. Go go to /wp-content/themes/ and delete the ‘vantage’ folder. That’ll give you admin access back. Then, go to Plugins, search for and install: Server IP and Memory Usage plugin and then check the footer in the WP admin, it’ll tell you PHP version.
https://wordpress.org/plugins/server-ip-memory-usage/
PHP 5.3.29
Hope this helps
John
Thanks for the help. Old but just inside the line. One moment…
I can change the version tbf if that will fix the issue, Im on an older site so can change it
I’m going to prep a new release to roll everything back. I tested with 5.6.32 before pushing today, clearly not enough. 5.2.4 is the minimum compatible WP version so I need to load that up for testing. Even once I’ve rolled this all back and pushed 1.7.1 we’ll still need to manually delete the vantage folder in /wp-content/themes/ on your site. Are you able to do that or should I send specifics? Can be done via FTP or File Manager in cPanel or similar hosting platform.
Really sorry for the hassle. This release has been in the works since late last year. Really thought we had it all covered.
Sorry, doubling up on replies. Yes, if you can up the version that will fix this.
I’ve updated to 7.2.3 and it seems to have fixed the problem. Sorry for the inconvenience I never even considered checking the php version and my host never highlighted that as a potential issue either!
Super, thanks for fixing and for your help. You’re within the min version so this is on us.
https://wordpress.org/about/requirements/
I’m going to roll back as an update which will be 1.7.1. You don’t need to update to that and can update again at 1.7.2 or 1.7.3
Thanks for help and being relaxed about this.