Title: Non-static method Error
Last modified: February 27, 2019

---

# Non-static method Error

 *  Resolved [arjuns](https://wordpress.org/support/users/arjuns/)
 * (@arjuns)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/non-static-method-error-2/)
 * Plugin version: 5.1.0
    Error:-
 *     ```
       PHP Deprecated:  Non-static method SiteGround_Optimizer\Supercacher\Supercacher::delete_assets() should not be called statically in /wp-data/plugins/sg-cachepress/core/Admin/Admin_Bar.php on line 58
       ```
   
 * Issue Origin: Click on “Purge SG Cache” button in top menu in WP Admin

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [7 years, 3 months ago](https://wordpress.org/support/topic/non-static-method-error-2/#post-11253657)
 * Please, update to 5.1.1 🙂

Viewing 1 replies (of 1 total)

The topic ‘Non-static method Error’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/non-static-method-error-2/#post-11253657)
 * Status: resolved