Title: PHP Strict Standards
Last modified: August 31, 2016

---

# PHP Strict Standards

 *  [Garrett Hyder](https://wordpress.org/support/users/garrett-eclipse/)
 * (@garrett-eclipse)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-strict-standards-9/)
 * Hello,
 * I’m experiencing the following PHP Strict Standards warnings with your plugin;
   [
   01-Feb-2016 19:18:53 UTC] PHP Strict Standards: Accessing static property UCC_bbPress_Email_Notifications::
   $version as non static in /home/ljlee/public_html/wp-content/plugins/bbpress-
   email-notifications/bbpress-email-notifications.php on line 41 [01-Feb-2016 19:
   18:53 UTC] PHP Strict Standards: Accessing static property UCC_bbPress_Email_Notifications::
   $headers as non static in /home/ljlee/public_html/wp-content/plugins/bbpress-
   email-notifications/bbpress-email-notifications.php on line 42 [01-Feb-2016 19:
   18:53 UTC] PHP Strict Standards: Accessing static property UCC_bbPress_Email_Notifications::
   $defaults as non static in /home/ljlee/public_html/wp-content/plugins/bbpress-
   email-notifications/bbpress-email-notifications.php on line 48 [01-Feb-2016 19:
   18:53 UTC] PHP Strict Standards: Accessing static property UCC_bbPress_Email_Notifications::
   $unsubscribe as non static in /home/ljlee/public_html/wp-content/plugins/bbpress-
   email-notifications/bbpress-email-notifications.php on line 58
 * Thoughts appreciated,
    Thanks
 * [https://wordpress.org/plugins/bbpress-email-notifications/](https://wordpress.org/plugins/bbpress-email-notifications/)

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

 *  Thread Starter [Garrett Hyder](https://wordpress.org/support/users/garrett-eclipse/)
 * (@garrett-eclipse)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-strict-standards-9/#post-7015672)
 * To resolve this issue I’ve simply updated the class variables to remove static
   from all but the $instance variable as follows;
 *     ```
       class UCC_bbPress_Email_Notifications {
       	public static $instance;
       	public $version;
       	public $headers;
       	public $unsubscribe;
       	public $defaults;
       ```
   
 * Flagging and leaving unresolved so the plugin can be updated.
    Thanks
 *  [jmslbam](https://wordpress.org/support/users/jmslbam/)
 * (@jmslbam)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-strict-standards-9/#post-9286950)
 * Yupp, this solved it for me! Thank you!

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

The topic ‘PHP Strict Standards’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bbpress-email-notifications.svg)
 * [bbPress Email Notifications](https://wordpress.org/plugins/bbpress-email-notifications/)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress-email-notifications/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress-email-notifications/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress-email-notifications/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress-email-notifications/reviews/)

## Tags

 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [jmslbam](https://wordpress.org/support/users/jmslbam/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/php-strict-standards-9/#post-9286950)
 * Status: not resolved