Hi, I upgrade the enfold theme with last version and now I have this problem
Fatal error: Can’t use function return value in write context in /web/htdocs/www.faceplace.it/home/wp-content/themes/enfold/framework/php/class-form-generator.php on line 435
Hey pixartdesign,
I could not login via ftp. Can you update theme via FTP?
Best regards,
Victoria
Is there a fix for this Victoria? I am getting the same error.
Fatal error: Can’t use function return value in write context in /nfs/c01/h08/mnt/10086/domains/arturosandoval.com/html/wp-content/themes/enfold/framework/php/class-form-generator.php on line 435
Please Advise
Hi pixartdesign. I’m having the same problem. Updated initially via wp-admin but discovered the site was crashing with the error you’ve reported. Subsequently deleted the Enfold folder and re-uploaded but still have the issue. Running PHP 5.3.29 and was working fine before.
Hi pixartdesign,
You can comment out this part in enfold/framework/php/class-form-generator.php starting on 435
if( $this->placeholder )
{
// empty label - keep default placeholder
if( ! empty( trim( $element['label'] ) ) )
{
$placeholder_text = $element['label'];
}
if( ! empty( $element['check'] ) )
{
$extra = "*";
}
}
via FTP
Best regards,
Victoria
Was just about to post that Victoria. Is a fix expected soon?
Hi anthonymcg,
I strongly recommend upgrading you php version.
If you need further assistance please let us know.
Best regards,
Victoria
I’ll ask my hosting company Victoria as I’m on a shared setup. Is it a case that there’s code in the new version of Enfold that’s incompatible with certain versions of PHP?