Title: Fatal error: Can&#8217;t use function return value in write context
Last modified: October 20, 2017

---

# Fatal error: Can’t use function return value in write context

 *  Resolved [datahamster](https://wordpress.org/support/users/datahamster/)
 * (@datahamster)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-11/)
 * Hi.
 * I’d love to use wpTables, but when I try to activate the plugin I get the following
   error:
 * **Fatal error: Can’t use function return value in write context in /var/sites/
   d/datahamster.com/public_html/wp-content/plugins/wptables/admin/class-wptables-
   admin.php on line 46**
 * I wonder if it might be PHP version related? My server is running PHP Version
   5.4.42

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

 *  Plugin Author [Ian Sadovy](https://wordpress.org/support/users/iansadovy/)
 * (@iansadovy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-11/#post-9607420)
 * Hello [@datahamster](https://wordpress.org/support/users/datahamster/),
 * Thank you for reporting.
    I am already looking into the issue and will update
   you soon.
 * Regards,
    Ian
    -  This reply was modified 8 years, 7 months ago by [Ian Sadovy](https://wordpress.org/support/users/iansadovy/).
 *  Plugin Author [Ian Sadovy](https://wordpress.org/support/users/iansadovy/)
 * (@iansadovy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-11/#post-9607605)
 * [@datahamster](https://wordpress.org/support/users/datahamster/),
 * I have just published the fix in WPTables 1.2.9.
    Please update and let me know
   if it works for you.
 * Thanks,
    Ian
 *  Thread Starter [datahamster](https://wordpress.org/support/users/datahamster/)
 * (@datahamster)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-11/#post-9607665)
 * Hi Ian.
 * Yes, that Activates fine now. Thank you for the awesomely fast fix!
 *  Thread Starter [datahamster](https://wordpress.org/support/users/datahamster/)
 * (@datahamster)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-11/#post-9607666)
 * (marked as resolved)
 *  Plugin Author [Ian Sadovy](https://wordpress.org/support/users/iansadovy/)
 * (@iansadovy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-11/#post-9608202)
 * I am glad to hear that it works now.
 * When you have the opportunity, could you please [share a brief review](https://wordpress.org/support/plugin/wptables/reviews/#new-post)
   of your experience with WPTables plugin?
 * Many thanks,
    Ian

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

The topic ‘Fatal error: Can’t use function return value in write context’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wptables_c8eafa.svg)
 * [WordPress Tables](https://wordpress.org/plugins/wptables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptables/)
 * [Active Topics](https://wordpress.org/support/plugin/wptables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptables/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Ian Sadovy](https://wordpress.org/support/users/iansadovy/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-11/#post-9608202)
 * Status: resolved