Title: Fruitful shortcodes update error
Last modified: July 14, 2017

---

# Fruitful shortcodes update error

 *  Resolved [asaracena](https://wordpress.org/support/users/asaracena/)
 * (@asaracena)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/)
 * Just ran the Fruitful Shortcode plugin update and my site is no longer showing
   anything but this error:
    Fatal error: Can’t use function return value in write
   context in /home/content/65/5274565/html/uddami/wp-content/plugins/fruitful-shortcodes/
   includes/shortcodes/shortcodes.php on line 649
 * I’m restoring it to the previous version. Let me know when that error is fixed.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/page/2/?output_format=md)

 *  Theme Author [Fruitful Code](https://wordpress.org/support/users/fruitfulcode/)
 * (@fruitfulcode)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9319486)
 * Hello.
 * Thanks for contacting our Support.
 * What is your PHP version? There was no changes in file shortcodes.php from January.
 * Most likely that the reason is in your PHP version:
 * [https://stackoverflow.com/questions/17139264/cant-use-function-return-value…](https://stackoverflow.com/questions/17139264/cant-use-function-return-value…)
 * Today our developer solved issue regarding old version php (5.5) support.
 * In order not to wait for the update, please try use the latest developers version
   from GitHub:
 * [https://github.com/Fruitfulcode/Fruitful-shortcodes](https://github.com/Fruitfulcode/Fruitful-shortcodes)
 * You should replace your data directory to data from the archive. Don’t forget
   to unzip it. If you didn’t change anything in the source files then your configuration
   will be not lost.
 * Regards.
 *  [pozirk](https://wordpress.org/support/users/pozirk/)
 * (@pozirk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9319930)
 * Problem is not fixed with your update, the same error in line 772.
 *  [jcdpromo](https://wordpress.org/support/users/jcdpromo/)
 * (@jcdpromo)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9320736)
 * In the shortcodes.php file, go to the line that it lists as having the error.
   It should read:
 *  if( empty(get_the_excerpt()) ) {
 * If you are using a PHP version prior to 5.5 (from what I’m experiencing), change
   that line to:
 *  if(get_the_excerpt()== false) {
 * This brought my site back removing the error.
 *  [imecstamas](https://wordpress.org/support/users/imecstamas/)
 * (@imecstamas)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9322044)
 * Problem isn’t fixed for me nor with the github code, nor with the if(get_the_excerpt()
   == false)..
 *  Theme Author [Fruitful Code](https://wordpress.org/support/users/fruitfulcode/)
 * (@fruitfulcode)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9325395)
 * Hello [@imecstamas](https://wordpress.org/support/users/imecstamas/).
 * We have just added this commit to GitHub:
 * [https://github.com/Fruitfulcode/Fruitful-shortcodes](https://github.com/Fruitfulcode/Fruitful-shortcodes)
 * It should solve issue with error on line 772.
 * Regards.
 *  [imecstamas](https://wordpress.org/support/users/imecstamas/)
 * (@imecstamas)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9326840)
 * Thank you, now it’s working!
 *  [denisebaer](https://wordpress.org/support/users/denisebaer/)
 * (@denisebaer)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9348990)
 * I just ran the update and my entire site is gone. The screen is just white. I
   can’t even get into the WP-Admin to run anything. Here is a screen capture: [https://pix.sfly.com/Wpzh40](https://pix.sfly.com/Wpzh40)
 * My site name: baerbookspress.com
 * Thanks.
 *  Theme Author [Fruitful Code](https://wordpress.org/support/users/fruitfulcode/)
 * (@fruitfulcode)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9349354)
 * Hello [@denisebaer](https://wordpress.org/support/users/denisebaer/).
 * What is your PHP version?
 * Regards.
 *  [denisebaer](https://wordpress.org/support/users/denisebaer/)
 * (@denisebaer)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9349600)
 * I’m not familiar with code, so I’m not sure where to find it on my domain. My
   domain is on GoDaddy.
 *  Thread Starter [asaracena](https://wordpress.org/support/users/asaracena/)
 * (@asaracena)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9349691)
 * Probably denisebaer has the same hosting plan that I do on GoDaddy which means
   that she also has PHP 5.4, or maybe even 5.3 if she never updated her PHP.
 * Since GoDaddy has no plan to update their PHP anytime soon for our shared hosting
   plan this is going to be a continual problem.
 * To use your code fix it’s necessary to know something about code. My temporary
   solution is to use a backup to restore the site and not update the Shortcodes
   plugin.
 *  [denisebaer](https://wordpress.org/support/users/denisebaer/)
 * (@denisebaer)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9349703)
 * Thanks, asaracena. I’d love to use the backup, but I don’t know how to do it 
   from GoDaddy. My site and my dashboard are completely white screens. There’s 
   nothing visible, so whatever I need to do, I’ll have to do through GoDaddy.
 *  [denisebaer](https://wordpress.org/support/users/denisebaer/)
 * (@denisebaer)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9349705)
 * I forgot to mention that I have a Dropbox backup of my site.
 *  Thread Starter [asaracena](https://wordpress.org/support/users/asaracena/)
 * (@asaracena)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9349727)
 * denisebaer do you have FTP access to your site? If so probably all you need to
   do is replace the Fruitful Shortcodes plugin folder with your Dropbox backup.
   Hopefully your backup is recent…
 *  [denisebaer](https://wordpress.org/support/users/denisebaer/)
 * (@denisebaer)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9349752)
 * Yes I do! I forgot. So do I take all the files of my backup and dump them in 
   the Fruitful Shortcuts Folder? I don’t see any files showing today’s date though.
 *  Thread Starter [asaracena](https://wordpress.org/support/users/asaracena/)
 * (@asaracena)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/#post-9349932)
 * Sorry to have disappeared. Don’t take all the files and put them in the Fruitful
   Shortcuts folder – you only need to replace the fruitful-shortcodes plugin files.
 * I could try to walk you through it – could we Skype? If you want to Skype I use
   alisonsaracena.
    -  This reply was modified 8 years, 8 months ago by [asaracena](https://wordpress.org/support/users/asaracena/).

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/page/2/?output_format=md)

The topic ‘Fruitful shortcodes update error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/fruitful/3.8.2/screenshot.png)
 * Fruitful
 * [Support Threads](https://wordpress.org/support/theme/fruitful/)
 * [Active Topics](https://wordpress.org/support/theme/fruitful/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/fruitful/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/fruitful/reviews/)

## Tags

 * [update](https://wordpress.org/support/topic-tag/update/)

 * 19 replies
 * 6 participants
 * Last reply from: [Fruitful Code](https://wordpress.org/support/users/fruitfulcode/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/fruitful-shortcodes-update-error/page/2/#post-9512309)
 * Status: resolved