Title: PHP Warning when I post comment to activity
Last modified: August 21, 2016

---

# PHP Warning when I post comment to activity

 *  [Number_6](https://wordpress.org/support/users/number_6/)
 * (@number_6)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/php-warning-when-i-post-comment-to-activity/)
 * I’m getting this PHP warning when I post a comment to an activity item. It doesn’t
   appear again when I load the comments on a fresh page.
 * `Warning: Creating default object from empty value in /...../nagualgrove.com/
   wp-content/plugins/welcome-pack/welcome-pack.php on line 805`
 * [http://wordpress.org/plugins/welcome-pack/](http://wordpress.org/plugins/welcome-pack/)

Viewing 1 replies (of 1 total)

 *  [sixf00t4](https://wordpress.org/support/users/sixf00t4/)
 * (@sixf00t4)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-warning-when-i-post-comment-to-activity/#post-4220128)
 * if you pull up welcome-pack.php, the public function email_load_emails( $subject)
   is what is causing the problem. the variable $bp is already being used and doesn’t
   want to be played with. Just change every $bp in there to something unique, like
   $bpwp

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning when I post comment to activity’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [sixf00t4](https://wordpress.org/support/users/sixf00t4/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/php-warning-when-i-post-comment-to-activity/#post-4220128)
 * Status: not resolved