Title: Deprecated: Non-static method
Last modified: March 22, 2018

---

# Deprecated: Non-static method

 *  [lukdol](https://wordpress.org/support/users/lukdol/)
 * (@lukdol)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/deprecated-non-static-method/)
 * Hey there!
 * I started using your product widget, but it does not work well for me. I get 
   the widget displayed, more or less, correctly (missing Advertiser on hover over
   the product) and i got this message:
    Deprecated: Non-static method AffilinetWidgetsWidget::
   getAdCode() should not be called statically, assuming $this from incompatible
   context in /home/…
 * Any idea what’s the problem and how to solve? Im just a designer, not really 
   knowledge in php.
    Thanks!

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

 * ![](https://s.w.org/plugins/geopattern-icon/affilinet-product-widgets_973304.
   svg)
 * [affilinet Product Widgets](https://wordpress.org/plugins/affilinet-product-widgets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/affilinet-product-widgets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/affilinet-product-widgets/)
 * [Active Topics](https://wordpress.org/support/plugin/affilinet-product-widgets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/affilinet-product-widgets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/affilinet-product-widgets/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [lukdol](https://wordpress.org/support/users/lukdol/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/deprecated-non-static-method/)
 * Status: not resolved