Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #794196

    We have been trying to update two of our test sites from the 4.0.5 to 4.0.6
    We have used the WP Dashboard theme updates as well as FTP option and keep ending up with the following error on both sites which shuts down the sites:
    Fatal error: Can’t use function return value in write context in /home/parkcity/public_html/wp-content/themes/enfold/framework/php/class-form-generator.php on line 435

    We have provided you with login credentials to one of these sites below in the private window

    Thanks for the help!

    Avery

    • This topic was modified 7 years, 7 months ago by So Evolve.
    #794198

    wp-content/themes/enfold/framework/php/class-form-generator.php on line 435

    Have the same problem on 4 sites.
    Six sites updated without issue.

    #794221

    I am also 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

    #794255

    Hi,

    The issue has been reported, there will be a fix soon. For now, you can go to this file wp-content/themes/enfold/framework/php/class-form-generator.php on line 435 via FTP and comment out this code

    
    
    				if( ! empty( trim( $element['label'] ) ) )
    				{
    					$placeholder_text = $element['label'];
    				}
    				if( ! empty( $element['check'] ) )
    				{
    					$extra = "*";
    				}
    

    Thank you for your patience and sorry for the inconvenience.
    Best regards,
    Victoria

    #794289

    Is this what it’s supposed to look like? My site is still not loading.

    [Update: Never mind. I just deleted the text and now the site is back up.]

    #794341

    Hey!

    Enfold 4.0.7 which should fix PHP version related issues is now available on ThemeForest – kriesi.at/documentation/enfold/updating-your-theme-files/. Sorry for the inconvenience!

    Regards,
    Yigit

    #794354

    Thanks, Yigit. You rock!

    #794357

    Hi,


    @ashforthmarketing
    Glad it worked for you! :)

    We will keep the thread open and will wait to hear from the creator of this thread. If you have any other questions or issues, please feel free to start a new thread.

    Best regards,
    Yigit

    #794486

    Thanks for the quick turn around time on the fix… both test sites are back and running with 4.0.7 ver

    Cheers

    • This reply was modified 7 years, 7 months ago by So Evolve.
    #794506

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Updating Theme from 4.0.5 to 4.0.6 issues’ is closed to new replies.