Title: fatal error
Last modified: September 15, 2017

---

# fatal error

 *  Resolved [James longly](https://wordpress.org/support/users/james-longly/)
 * (@james-longly)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/)
 * Hi
 * my web developer has asked me to share this error with you to see if you can 
   help?
 * thanks
 * Fatal error: Can’t use method return value in write context in /home/wooextend/
   public_html/dope-seeds/wp-content/plugins/giftable-for-woocommerce/public/Public.
   php on line 253
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-2668%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [DecomTeam](https://wordpress.org/support/users/decomteam/)
 * (@decomteam)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9499933)
 * Minimum WooCommerce version is 3.1
    Line 253 is about a variable product.
 * Do you get gifts?
    _[ [Signature deleted](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 8 years, 5 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Thread Starter [James longly](https://wordpress.org/support/users/james-longly/)
 * (@james-longly)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9499988)
 * ah ok i will update that first
 *  Plugin Author [DecomTeam](https://wordpress.org/support/users/decomteam/)
 * (@decomteam)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9500145)
 * – delete Giftable for WooCommerce (if you have old version) and install latest
   –
   Update WooCommerce to 3.1 Clear browser cache, clear server cache, clear plugin
   cache.
 * Keep us posted – did it work?
 *  Thread Starter [James longly](https://wordpress.org/support/users/james-longly/)
 * (@james-longly)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9506004)
 * Hi, we have done all of these things and have the newest version of woocommerce
   and we still get the same error. can you offer any advice? thanks
    ps – is there
   perhaps a direct e-mail address i can give to my developer so he can speak directly
   with you?
 *  Plugin Author [DecomTeam](https://wordpress.org/support/users/decomteam/)
 * (@decomteam)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9506375)
 * Minimum version of **PHP 5.6**
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 8 years, 8 months ago by [DecomTeam](https://wordpress.org/support/users/decomteam/).
    -  This reply was modified 8 years, 5 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  [evepokua](https://wordpress.org/support/users/evepokua/)
 * (@evepokua)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9518578)
 * Hello,
 * I have applied gifted on my available products which are variable too. I have
   4 gift categories using products for selling. So products for sale and product
   for gifts are same. When I add products to cart and a gift category is meant,
   the message to add a gift to cart is displayed. When I select a gift to add. 
   It does not add. However, it adds and display the message – gift is added to 
   cart, when I click the ‘update basket button’. So it adds to cart only when ‘
   update basket’ is clicked. So now I have to find a way to display a message to
   customers to click ‘update basket’ button in order for gifts to be added to the
   basket.
 * My status-
 * WP version is 4.8.2
    PHP version is 7.0.23 mySQL version is 5.6.36
 * Thank you.
 *  Plugin Author [DecomTeam](https://wordpress.org/support/users/decomteam/)
 * (@decomteam)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9519853)
 * [@evepokua](https://wordpress.org/support/users/evepokua/) Please open a new 
   ticket.
    – Check that you have latest WooCommerce 3.1.2 (we require 3.1 and up)–
   Check CACHE – Cache should be disabled on Cart, Checkout – Share a URL and debug.
   log so we can take a look *if nothing is inside debug.log – then you have maybe
   Cache or Script issue on your “Cart Page” ([Debugging in WordPress](https://codex.wordpress.org/Debugging_in_WordPress))
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 8 years, 8 months ago by [DecomTeam](https://wordpress.org/support/users/decomteam/).
    -  This reply was modified 8 years, 5 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Plugin Author [DecomTeam](https://wordpress.org/support/users/decomteam/)
 * (@decomteam)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9520209)
 * [@james-longly](https://wordpress.org/support/users/james-longly/) Closing this
   as issue was detected, PHP 5.4
 * Minimum requirements:
    – PHP **5.6** – WooCommerce **3.1 **
 * [@james-longly](https://wordpress.org/support/users/james-longly/) Thank you 
   for your report, we will try our best to help you via email or open new ticket.
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 8 years, 5 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  [jinalmodi](https://wordpress.org/support/users/jinalmodi/)
 * (@jinalmodi)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9739562)
 * Hi James, I found that you’re looking for Woo-commerce developer to develop a
   whole new website?

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘fatal error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/giftable-for-woocommerce_a7699a.svg)
 * [Giftable for WooCommerce](https://wordpress.org/plugins/giftable-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/giftable-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/giftable-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/giftable-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/giftable-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/giftable-for-woocommerce/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [jinalmodi](https://wordpress.org/support/users/jinalmodi/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-2668/#post-9739562)
 * Status: resolved