• When developing and testing, set display errors on and try to fix all notices too. It’s still a really good idea to address the minor issues like variables that aren’t declared before you assign them values, or test whether the condition is true or not, etc…

    Examples
    PHP Notice: Undefined property: stdClass::$last_name in /plugins/all-in-one-seo-pack/aioseop.class.php on line 679

    PHP Notice: Undefined variable: gz in /plugins/wp-super-cache/wp-cache-phase2.php on line 496

    Not to leave out WordPress (2.9.2) itself of course, but …
    Notice: Undefined variable: excerpt in /wp-includes/deprecated.php on line 1751

  • The topic ‘Suggestion: Plugin authors’ is closed to new replies.