Title: Creating default object from empty value &#8211; Error
Last modified: August 21, 2016

---

# Creating default object from empty value – Error

 *  Resolved [tesargusmawan](https://wordpress.org/support/users/tesargusmawan/)
 * (@tesargusmawan)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-error/)
 * Hello!
 * I’m running wordpress 3.8 as a subdomain and in subdirectory. Using your recent
   version of BM (1.9.1) and the recent version of Buddypress (1.9). I also installed
   some plugins and don’t use bp-custom.php.
 * After I activated the plugin, there is an error on **desktop browse**r:
    Warning:
   Creating default object from empty value in /home/k0724821/public_html/pitaungu.
   org/mhsw/wp-content/plugins/buddymobile/includes/bp-mobile-class.php on line 
   42
 * And another error on **mobile browser**:
    Warning: Creating default object from
   empty value in /home/k0724821/public_html/pitaungu.org/mhsw/wp-content/plugins/
   buddymobile/includes/bp-mobile-class.php on line 42
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/k0724821/public_html/pitaungu.org/mhsw/wp-content/plugins/buddymobile/
   includes/bp-mobile-class.php:42) in /home/k0724821/public_html/pitaungu.org/mhsw/
   wp-includes/pluggable.php on line 896)
 * I have tried to deactivate all plugins except buddypress and buddymobile but 
   the error still appeared.
 * Could you help me with this?
 * Big thanks!
 * And really waiting for the mobile app 😀
 * [http://wordpress.org/plugins/buddymobile/](http://wordpress.org/plugins/buddymobile/)

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

 *  Plugin Author [modemlooper](https://wordpress.org/support/users/modemlooper/)
 * (@modemlooper)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-error/#post-4429216)
 * Go to settings page for plugin and save the settings.
 *  Thread Starter [tesargusmawan](https://wordpress.org/support/users/tesargusmawan/)
 * (@tesargusmawan)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-error/#post-4429238)
 * Whoaa thanks [@modemlooper](https://wordpress.org/support/users/modemlooper/)
   
   I click the save button twice and it runs normally.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/buddymobile_5d8fb3.svg)
 * [BuddyMobile](https://wordpress.org/plugins/buddymobile/)
 * [Support Threads](https://wordpress.org/support/plugin/buddymobile/)
 * [Active Topics](https://wordpress.org/support/plugin/buddymobile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddymobile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddymobile/reviews/)

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