Title: [Plugin: Search Unleashed] Warning: Creating default object from empty value
Last modified: August 20, 2016

---

# [Plugin: Search Unleashed] Warning: Creating default object from empty value

 *  [RonG](https://wordpress.org/support/users/rong/)
 * (@rong)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-search-unleashed-warning-creating-default-object-from-empty-value/)
 * Search Unleashed has become incompatible with later versions of PHP, causing 
   it to throw the error: Warning: Creating default object from empty value on line
   27 of search-unleashed/models/incoming-search.php
 * Inserting this line ahead of line 27 appears to fix the problem:
    $this->search
   = new StdClass;
 * [http://wordpress.org/extend/plugins/search-unleashed/](http://wordpress.org/extend/plugins/search-unleashed/)

The topic ‘[Plugin: Search Unleashed] Warning: Creating default object from empty
value’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [RonG](https://wordpress.org/support/users/rong/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-search-unleashed-warning-creating-default-object-from-empty-value/)
 * Status: not resolved