Title: Fatal error: Can&#8217;t use function return value&#8230;
Last modified: September 23, 2018

---

# Fatal error: Can’t use function return value…

 *  Resolved [Berryman](https://wordpress.org/support/users/berryman/)
 * (@berryman)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-7/)
 * Hi,
 * I have tried installing this plug-in on two different WordPress sites, installed
   on different servers.
 * After installing the plug-in, when I ask it to activate, I just get this message:
 * Fatal error: Can’t use function return value in write context in /home/sites/
   nameofsite/public_html/wp-content/plugins/better-search/includes/modules/exclusions.
   php on line 42
 * Any ideas what might cause this? (using WordPress 4.9.8)
 * Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-7/#post-10735367)
 * Sorry for the delayed response.
 * Can you please take a look at this post? I’ve not yet issued a fix and will do
   so.
 * [https://wordpress.org/support/topic/fatal-error-2897/](https://wordpress.org/support/topic/fatal-error-2897/)

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/better-search/assets/icon-256x256.png?rev=2988729)
 * [Better Search - Relevant search results for WordPress](https://wordpress.org/plugins/better-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-search/)
 * [Active Topics](https://wordpress.org/support/plugin/better-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-search/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-7/#post-10735367)
 * Status: resolved