Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #794113

    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

    #794217

    Hey pixartdesign,

    I could not login via ftp. Can you update theme via FTP?

    Best regards,
    Victoria

    #794224

    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

    #794228

    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.

    #794235

    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

    #794244

    Was just about to post that Victoria. Is a fix expected soon?

    #794262

    Hi anthonymcg,

    I strongly recommend upgrading you php version.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #794295

    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?

    #794430

    Hi,

    Issue was related older PHP versions as Victoria mentioned however Kriesi already fixed the issue and released Enfold 4.0.7. Please update the theme via FTP and overwrite all files – kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Yigit

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.