Support » Plugin: SVN Auto Upgrade » Strict Standards: Non-static method called statically

  • Using PHP5.4 with strict error checking, get this error:

    Strict Standards: Non-static method SVNAutoUpgrader::getInstance() should not be called statically in …/mysite/wp-content/plugins/svn-auto-upgrade/svn-auto-upgrade.php on line 235

    To fix this, I added “static” to line 18 in svn-auto-upgrade.php to:
    public static function getInstance() {

    I suspect _construct() should also be static.

    thanks for a great plugin – if you’d like me send you a patch for this, I’d be happy to.

  • The topic ‘Strict Standards: Non-static method called statically’ is closed to new replies.