Title: Deprecated error message
Last modified: August 11, 2017

---

# Deprecated error message

 *  Resolved [sparkleroar](https://wordpress.org/support/users/sparkleroar/)
 * (@sparkleroar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/deprecated-error-message/)
 * Hi, just installed the plugin but when I activate it I receive the following 
   error message:
    Deprecated: Non-static method WC_Location_Report::init() should
   not be called statically in …/public_html/wp-content/plugins/woocommerce-sales-
   by-location-report/woocommerce-location-report.php on line 161
 * I have no idea how to resolve this so I’ve deactivated the plugin for now. Can
   you advise what I should do to go about fixing it? Thanks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [valof78](https://wordpress.org/support/users/valof78/)
 * (@valof78)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/deprecated-error-message/#post-9402322)
 * Im not one of the most experienced members but i would say some of your plugins
   cant work together.
 *  Thread Starter [sparkleroar](https://wordpress.org/support/users/sparkleroar/)
 * (@sparkleroar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/deprecated-error-message/#post-9403789)
 * When I google this “Non-static method should not be called statically” I get 
   results for a PHP error. I haven’t come across anything that says it’s a plugin
   conflict.
 * But being semi-clueless I have no idea what to do to fix the PHP error. It’s 
   basically saying that this part of the Sales by Location Plugin “WC_Location_Report::
   init()” is non-static but is being called statically. What is calling it statically?
   How do I set it to static? Do I even want it to be static? How do I change it
   to be called non-statically if I don’t want it to be static? Why am I on this
   planet?
 *  Plugin Author [Chuck Mac](https://wordpress.org/support/users/chuckmac/)
 * (@chuckmac)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/deprecated-error-message/#post-9428916)
 * Should be fixed in the latest version (1.3.2)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Deprecated error message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-sales-by-location-report_cf9bc6.
   svg)
 * [WooCommerce Sales By Location Report](https://wordpress.org/plugins/woocommerce-sales-by-location-report/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-sales-by-location-report/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-sales-by-location-report/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-sales-by-location-report/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-sales-by-location-report/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-sales-by-location-report/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Chuck Mac](https://wordpress.org/support/users/chuckmac/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/deprecated-error-message/#post-9428916)
 * Status: resolved