Viewing 30 posts - 1 through 30 (of 43 total)
  • Author
    Posts
  • #794087

    This message appears after updating. Can’t log into backend or load pages.

    http://www.prevision3d.com

    Ideas?

    -Tom

    Fatal error: Can’t use function return value in write context in /home/prevision/webapps/pre3d9_14/wp-content/themes/enfold/framework/php/class-form-generator.php on line 435

    • This topic was modified 2 years, 8 months ago by  tommacie.
    #794093

    I have the same issue … Had to revert back to version 4.0.5

    #794101

    My website is totally inaccessible after updating to 4.0.6 as well. How do I revert to 4.0.5?

    #794104

    Same problem here….

    #794110

    Same here – white screen of death (both frontend and backend).

    #794116

    same :(

    #794123

    I have the same problem! Can anyone help?

    #794124

    My site crashed too.

    #794125

    This needs rectifying ASAP!!!!

    Need a copy of the previous version uploading somewhere Kriesi so we can revert back please!

    #794139

    … and instructions how to manually (via FTP) put back the 4.0.5 files, as the WordPress backend is also dead… Themeforest (Envato) only has the latest version available to download, not the prior version.

    • This reply was modified 2 years, 8 months ago by  LAVision.
    #794140

    I tried to revert by I’m getting problems with the LayerSlider. I cannot copy the old files!

    Fatal error: Call to undefined function post_has_layerslider() in /home/(USER)/public_html/wp-content/themes/enfold/config-layerslider/config.php on line 157

    #794144

    Obviously not been tested thoroughly enough before releasing to public

    #angryisnottheword!

    #794147

    I too am getting this exact error.
    Fatal error: Can’t use function return value in write context in /xxx/wp-content/themes/enfold/framework/php/class-form-generator.php on line 435

    I have disabled all plugins and reinstalled the 4.0.6 version, same result. I am now in the process of restoring to a backup from yesterday and version 4.0.5. I have a test site available if we need to crash things there.

    These are on GoDaddy servers running php 5.6 (wait, I just got DOWN graded by Go Daffy to 5.4 to force me to upgrade accounts)- I am assuming this is the issue, am I correct? If so I have bigger issues as GoDaffy refuses to update to PHP-7. I know I was on 5.6 as is seen in other threads! I hate my hosting provider.

    #794151

    (Michael as an aside, I had Go Daffy for years and felt the same way. I switched the WP Engine and am never looking back. They are awesome. A little more expensive but my site is always up and support is great. And php 7.)

    #794153

    In another thread someone said:

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

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

    Perhaps someone can try this? I will try as well as soon as I figure out how to login to my site via FTP!

    • This reply was modified 2 years, 8 months ago by  LAVision.
    #794157

    All I can say is that it got my sites up and running again. Commenting out that code may yield other errors, and I didn’t trace the execution to see if that was the case. My goal was to just get things to a point where I could easily update enfold when 4.0.7 is released.

    #794166

    Also commented out
    wp-content/themes/enfold/framework/php/class-form-generator.php on line 435
    and got the site running again. Waiting for the update…

    #794168

    Indeed, commenting out line 435 as per post above gets my site back online as a temporary fix…

    #794173

    I removed line 435. It worked to help me get back onto my dashboard and reinstall my backup. For anyone wondering, the specific line in the PHP file is

    if( ! empty( trim( $element[‘label’] ) ) )

    #794174

    LAVision – I just re-uploaded the 4.0.5 theme times via FTP which got my site backup.

    #794177

    Can anyone please share a download link to version 4.0.5? I don’t have a copy and need it ASAP. I would really appreciate if someone could post the version 4.0.5 enfold.zip file. Thank you!!!

    #794178

    Yes, I’d love to get a copy of 4.0.5 to do that as well… Could you please provide a dropbox (or similar) link or something so we can download it? Themeforest only lets me download the latest version…

    #794182

    Confirmed. Simply deleting that line brought my site back up.

    Thank you!

    jasksks wrote:

    I removed line 435. It worked to help me get back onto my dashboard and reinstall my backup. For anyone wondering, the specific line in the PHP file is

    if( ! empty( trim( $element[‘label’] ) ) )

    #794186

    Try this guys and girls: [link removed – thanks for the help ;) ]
    It’s in my Dropbox account. Navigate to the unzipped folder called ‘enfold’ and you should be good to go. I have a minor mod to functions.php but all it does is add two additional images sizes to the defaults that the theme creates when you upload, so nothing to be alarmed about! I always like to hard code this mod rather than leave it to the Child Theme (old skool habits!)

    Hope that helps?
    Ed

    PS – I always wait a few days after the updates are launched and ALWAYS manually download from Themeforest and don’t use the auto-uploader. It may help you keep archival copies in the future.

    • This reply was modified 2 years, 8 months ago by  Kriesi.
    #794188

    Thank you!!!

    #794190

    I don’t see the .zip file I’m supposed to upload?

    never-mind… I think I’ve got it…

    • This reply was modified 2 years, 8 months ago by  LAVision.
    #794192

    @lavision – I recommend using an FTP program and overwriting the contents of the enfold folder in its unzipped state. However do you see the third folder up from the bottom? That’s the one you want.

    • This reply was modified 2 years, 8 months ago by  Swarez.
    #794202

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

    4 sites failed. 6 were successful. Please help.

    #794208

    Same issue for me. Hope this will be fixed soon.
    Had to go back to 4.0.5 from backup for it to come back up again.

    #794211

    The same error for me:
    Fatal error: Can’t use function return value in write context in /usr/home/renders.cat/web/wp-content/themes/enfold/framework/php/class-form-generator.php on line 435

Viewing 30 posts - 1 through 30 (of 43 total)

You must be logged in to reply to this topic.