Title: &quot;Creating default object from empty value&quot; Errors
Last modified: August 21, 2016

---

# "Creating default object from empty value" Errors

 *  [Kovah](https://wordpress.org/support/users/kovah/)
 * (@kovah)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-errors/)
 * Got the following errors after enabling the plugin:
    [http://cl.ly/image/0E1r1C0t0J0u](http://cl.ly/image/0E1r1C0t0J0u)
 * WordPress: 3.6.1
    BuddyPress: 1.8.1
 * [http://wordpress.org/plugins/bp-gtm-system/](http://wordpress.org/plugins/bp-gtm-system/)

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

 *  [ricardo_s](https://wordpress.org/support/users/ricardo_s/)
 * (@ricardo_s)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-errors/#post-4123514)
 * Am getting the same error.
 * Using wordpress 3.7 & Buddypress 1.9
 *  [Maxime](https://wordpress.org/support/users/maxime-o/)
 * (@maxime-o)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-errors/#post-4123521)
 * I get the same error with BP GTM System 1.9 and WordPress 3.8.
 * I temporarly fixed this setting default value :
 *     ```
       if (empty($gd)) { $gd = new stdClass(); }
       if (empty($gd->search)) { $gd->search = new stdClass(); }
       ```
   
 *  [harry1967](https://wordpress.org/support/users/harry1967/)
 * (@harry1967)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-errors/#post-4123531)
 * [@maxime](https://wordpress.org/support/users/maxime/) O
    but for all non-programmer.
   in which php and where put the code must be pasted?

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/bp-gtm-system_6c6c6c.svg)
 * [BP GTM System](https://wordpress.org/plugins/bp-gtm-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-gtm-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-gtm-system/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-gtm-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-gtm-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-gtm-system/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [harry1967](https://wordpress.org/support/users/harry1967/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-errors/#post-4123531)
 * Status: not resolved