Title: Creating default object from empty value
Last modified: August 30, 2016

---

# Creating default object from empty value

 *  [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-10/)
 * Keep getting “PHP Warning: Creating default object from empty value” in “relevanssi\
   lib\indexing.php on line 205”.
 * Not sure of the rhyme or reason as to what’s causing it to pop up yet, but when
   it does I get a crap-load of them and then they go away for a bit.
 * [https://wordpress.org/plugins/relevanssi/](https://wordpress.org/plugins/relevanssi/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-10/#post-6878779)
 * Relevanssi should be handling a post object at that point, but for some reason
   isn’t. It’s right after a get_post() function call, so something is probably 
   making Relevanssi try to index non-existing posts.
 * I’d say a conflict with another plugin is to blame, but I know that’s not particularly
   helpful.

Viewing 1 replies (of 1 total)

The topic ‘Creating default object from empty value’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=2025044)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-10/#post-6878779)
 * Status: not resolved