Title: Strict Standards: Non-static method called statically
Last modified: August 21, 2016

---

# Strict Standards: Non-static method called statically

 *  [powderflask](https://wordpress.org/support/users/powderflask/)
 * (@powderflask)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/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.
 * [http://wordpress.org/plugins/svn-auto-upgrade/](http://wordpress.org/plugins/svn-auto-upgrade/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/svn-auto-upgrade_1e98ba.svg)
 * [SVN Auto Upgrade](https://wordpress.org/plugins/svn-auto-upgrade/)
 * [Support Threads](https://wordpress.org/support/plugin/svn-auto-upgrade/)
 * [Active Topics](https://wordpress.org/support/plugin/svn-auto-upgrade/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/svn-auto-upgrade/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/svn-auto-upgrade/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [powderflask](https://wordpress.org/support/users/powderflask/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/strict-standards-non-static-method-called-statically/)
 * Status: not resolved