topic : http://www.acurity.nl – upgrade from php 5.6 tot 7.1 or2
Hello,
i have upgraded the php-version of our Enfold-sites to 7.1 without any problem for the .be and the .fr
however, I do get following error for the .nl site :
I logged in on the webhoster’s site and made a staging-site where I upgraded from php 5.6 tot 7.1 and all I get is a blank page…
https://nlacur-ccochatay.savviihq.com/?_ga=2.140645110.515572177.1541595603-1870291159.1540898150&_gac=1.49488786.1540992157.EAIaIQobChMIh_rvt-Kw3gIVTLXtCh2iyASxEAAYASAAEgLgmvD_BwE
so when I go the server via ftp and look into the log file I get :
Uncaught Error: Function name must be a string in /var/www/nlacur-ccochatay/wordpress/current/wp-content/themes/enfold/framework/php/class-style-generator.php:123
which would be following line :
{
$this->output .= $this->$rule[‘key’]($rule).”\n”;
}
now, since I do not know php, I have no idea what I should adapt/change here….
can you help me out ?
which data do you need ?
thanks in advance,
Fabienne
Hey Fabienne,
You are running a very old version of the theme there (3.3.2), and that version doesn’t support 7.1 unfortunately. Could you try updating the theme to the latest version (4.5) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update. Please note that you might have to delete the old version before you upload the new one in order for it to install properly, or use a plugin like this in order to upload the new zip file: https://wordpress.org/plugins/update-theme-and-plugins-from-zip-file/.
Best regards,
Rikard