• Garrett Hyder

    (@garrett-eclipse)


    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://www.ads-software.com/plugins/bbpress-email-notifications/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Garrett Hyder

    (@garrett-eclipse)

    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

    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.