Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #794136

    Hi

    I have updated two to latest version of enfold, and the web shows this error, what can I do?
    Fatal error: Can’t use function return value in write context in /usr/home/gecko.cat/web/wp-content/themes/enfold/framework/php/class-form-generator.php on line 435

    #794138

    I’m seeing the same thing. I commented out line 435 of that file for a temporary fix to my sites until the theme is updated.

    #794149

    Hi Jpollackphoto, please can you tell me what line is that? Do you have the specific query?

    #794160

    I changed line 435 of wp-content/themes/enfold/framework/php/class-form-generator.php from:
    if( ! empty( trim( $element['label'] ) ) )
    to
    //if( ! empty( trim( $element['label'] ) ) )

    #794179

    I have put the backup of yesterday and everything works fine. I will wait to put the ENFOLD update. Let’s see what ENFOLD says about this update, because the same error happened in two webs I have with ENFOLD

    #794376

    Hi,

    It was an issue related to older PHP versions. However Kriesi fixed the issue and released Enfold 4.0.7. Please update the theme via FTP and overwrite – kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Yigit

    #794383

    Hi Yigit, would you be able to help me get my update on with FTP? No idea how to go about that… My details are here: https://kriesi.at/support/topic/need-help-ftp-updating-theme-to-v4-0-7-to-fix-fatal-error/

    Thanks in advance.

    #794388

    Hi!


    @koncium
    I saw your thread and assigned it to myself already. I am currently updating another user’s theme via FTP. When i am done, i will be working on yours :)
    Let us continue on your thread!

    Cheers!
    Yigit

    #794448

    I experienced the same error in class-form-generator.php on line 435 and commented it out. Website came back up and … voila Enfold update to 4.07 was there waiting for me :-)
    All is fixed now with the new version.

    #794452

    Hi,


    @1000zen
    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

    #950884

    Now everything works fine! Thanks! all solved, you can close this thread

    #950994

    Hi,

    Glad that it worked :)
    Feel free to comeback if you need further assistance.
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Update Enfold’ is closed to new replies.