-
AuthorPosts
-
May 16, 2017 at 5:21 pm #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 435May 16, 2017 at 5:22 pm #794138I’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.
May 16, 2017 at 5:29 pm #794149Hi Jpollackphoto, please can you tell me what line is that? Do you have the specific query?
May 16, 2017 at 5:36 pm #794160I 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'] ) ) )
May 16, 2017 at 5:45 pm #794179I 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
May 16, 2017 at 7:50 pm #794376Hi,
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,
YigitMay 16, 2017 at 7:55 pm #794383Hi 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.
May 16, 2017 at 8:01 pm #794388Hi!
@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!
YigitMay 16, 2017 at 8:49 pm #794448I 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.May 16, 2017 at 8:53 pm #794452Hi,
@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,
YigitMay 3, 2018 at 3:56 pm #950884Now everything works fine! Thanks! all solved, you can close this thread
May 3, 2018 at 6:40 pm #950994Hi,
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 -
AuthorPosts
- The topic ‘Update Enfold’ is closed to new replies.