Title: Deprecated method called statically
Last modified: March 11, 2021

---

# Deprecated method called statically

 *  [dusauton](https://wordpress.org/support/users/dusauton/)
 * (@dusauton)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/deprecated-method-called-statically/)
 * Hello,
 * Fyi, I get the following warning message when debug is enabled:
    Deprecated: 
   Non-static method OWA_Block::register_widget_sidebar() should not be called statically
   in E:\XAMPP\htdocs\ferm_v2\wp-includes\class-wp-hook.php on line 292 Am I the
   only one, or is it an actual issue?
 * Thanks a lot for the great plugin! 🙂

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

 *  [tessali56](https://wordpress.org/support/users/tessali56/)
 * (@tessali56)
 * [5 years ago](https://wordpress.org/support/topic/deprecated-method-called-statically/#post-14482607)
 * Ho lo stesso problema e non so come risolbverlo
 * Deprecated: Non-static method AV\Features\Push_Notifications::filter_subscription_page_content()
   should not be called statically in /membri/nicolaemariagabriella/wp-includes/
   class-wp-hook.php on line 292
 *  [Marcy](https://wordpress.org/support/users/antigone7/)
 * (@antigone7)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/deprecated-method-called-statically/#post-14797318)
 * I’m getting a Fatal Error due to this now:
    Fatal error: Uncaught TypeError: 
   call_user_func_array(): Argument #1 ($function) must be a valid callback, non-
   static method OWA_Block::register_widget_sidebar() cannot be called statically
   in /Valetsites/cip/wp-includes/class-wp-hook.php
 *  [Hans Schuijff](https://wordpress.org/support/users/hanswitteprins/)
 * (@hanswitteprins)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/deprecated-method-called-statically/#post-14862127)
 * I just installed and my log is filling up with this error too. I’ve checked and
   you can just change the code and make all methods in the OWA_Block class static(
   file `\organic-widget-area-block\src\class\class-widget-area.php` ).
 * Is there no support anymore on this plugin, that this bug is still there?
    -  This reply was modified 4 years, 8 months ago by [Hans Schuijff](https://wordpress.org/support/users/hanswitteprins/).

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

The topic ‘Deprecated method called statically’ is closed to new replies.

 * ![](https://ps.w.org/organic-widget-area-block/assets/icon-256x256.png?rev=2052825)
 * [Organic Widget Area Block](https://wordpress.org/plugins/organic-widget-area-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/organic-widget-area-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/organic-widget-area-block/)
 * [Active Topics](https://wordpress.org/support/plugin/organic-widget-area-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/organic-widget-area-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/organic-widget-area-block/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Hans Schuijff](https://wordpress.org/support/users/hanswitteprins/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/deprecated-method-called-statically/#post-14862127)
 * Status: not resolved