Title: Fatal Error Can&#8217;t use function return value in write context
Last modified: January 25, 2019

---

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

 *  Resolved [jpretorious](https://wordpress.org/support/users/jpretorious/)
 * (@jpretorious)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-18/)
 * A couple of weeks ago my client updated the plugin and it took her site down.
   So, I deactivated the plugin temporarily and the site came back up.
 * So, I am trouble shooting the plugin to reactivate it. Unfortunately when I tried
   to activate it this is the error that came up:
 * Fatal error: Can’t use function return value in write context in /home4/carols/
   public_html/wp-content/plugins/tweet-old-post/includes/admin/class-rop-pointers.
   php on line 55
 * Would like to know how to fix this.
 * Running the latest WordPress version, latest version of your plugin, and hosted
   on Host Gator.
 * Thank You,
    Justine

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

 *  Plugin Contributor [Uriahs Victor](https://wordpress.org/support/users/uriahs-victor/)
 * (@uriahs-victor)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-18/#post-11134937)
 * Hi there, please ensure you’re using at least PHP 5.6 on your website. Please
   see here on how to update your PHP version: [https://docs.revive.social/article/947-how-to-update-your-php-version](https://docs.revive.social/article/947-how-to-update-your-php-version)
 * Once you update your php version the error should be gone
 *  Thread Starter [jpretorious](https://wordpress.org/support/users/jpretorious/)
 * (@jpretorious)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-18/#post-11146536)
 * Thank you! I have checked and her site is running an older version of PHP. Once
   we upgrade the PHP version and verify the plugin is working I will let you know.
 * Thank you again, I appreciate your help!
 * Justine

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

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

 * ![](https://ps.w.org/tweet-old-post/assets/icon-256x256.gif?rev=3127181)
 * [Revive Social – Social Media Auto Post and Scheduling Automation Plugin](https://wordpress.org/plugins/tweet-old-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tweet-old-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tweet-old-post/)
 * [Active Topics](https://wordpress.org/support/plugin/tweet-old-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tweet-old-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tweet-old-post/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [jpretorious](https://wordpress.org/support/users/jpretorious/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-18/#post-11146536)
 * Status: resolved