Title: Fatal error: Can&#8217;t use function return value in write context
Last modified: December 21, 2021

---

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

 *  [billl4](https://wordpress.org/support/users/billl4/)
 * (@billl4)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-23/)
 * Hello, do you know why we are getting this error message from your plugin? I 
   deactivated it and then reactivated it, but I still get the error message when
   it is activated.
 * Fatal error: Can’t use function return value in write context in /srv/data/web/
   vhosts/exposefacts.org/htdocs/wp-content/plugins/widgetize-pages-light-old/include/
   otw_process_actions.php on line 142
 * Thanks,
    Bill
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-cant-use-function-return-value-in-write-context-23%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [7ulien](https://wordpress.org/support/users/7ulien/)
 * (@7ulien)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-23/#post-15419039)
 * Hi !
 * This issue worked for me : [https://wordpress.org/support/topic/error-when-entering-editor/#post-15419025](https://wordpress.org/support/topic/error-when-entering-editor/#post-15419025)
   
   😉
 *  Thread Starter [billl4](https://wordpress.org/support/users/billl4/)
 * (@billl4)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-23/#post-15590039)
 * Unfortunately, that did not work for me. The post you linked to addressed this
   file: otw_shortcode_tinymce_plugin.js, but my error message refers to a different
   file: otw_process_actions.php. I made the changes anyway, but I still get the
   error message on this line:
    plugins/widgetize-pages-light/include/otw_process_actions.
   php on line 142
 *  Thread Starter [billl4](https://wordpress.org/support/users/billl4/)
 * (@billl4)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-23/#post-15590048)
 * This is the line it refers to:
    `if( otw_post( 'otw_sbm_promotions', false ) &&!
   empty( otw_post( 'otw_sbm_promotions', '' ) ) ){`

Viewing 3 replies - 1 through 3 (of 3 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/widgetize-pages-light_0a96e3.svg)
 * [Widgetize Pages Light](https://wordpress.org/plugins/widgetize-pages-light/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widgetize-pages-light/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widgetize-pages-light/)
 * [Active Topics](https://wordpress.org/support/plugin/widgetize-pages-light/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widgetize-pages-light/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widgetize-pages-light/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [billl4](https://wordpress.org/support/users/billl4/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-23/#post-15590048)
 * Status: not resolved