• Resolved sparkleroar

    (@sparkleroar)


    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)
  • Im not one of the most experienced members but i would say some of your plugins cant work together.

    Thread Starter sparkleroar

    (@sparkleroar)

    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

    (@chuckmac)

    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.