I’m getting the same error. There appears to be a deprecated command in the widget source code. It worked for me until 5.9.3 update.
Me too. I tracked my issue to PHP 8. WP 6.0.1 and PHP 7.4, no problems. As soon as I activate PHP 8.0, fatal error.
-
This reply was modified 3 years, 9 months ago by
scopie.
Hi, same here… I’ve logged this error:
PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method OWA_Block::register_widget_sidebar() cannot be called statically in /home/xxxxxxx/wp-includes/class-wp-hook.php:308
The error can be fixed by editing line 69 in src/class/class-widget-area.php adding “static” between “public” and “function” like this:
public static function register_widget_sidebar() {
Alternatively, it seems this plugin is being replaced by https://ww.wp.xz.cn/plugins/organic-customizer-widgets/ so you might want give that a spin 🙂
I did add the code and got this error.
Parse error: syntax error, unexpected token “public” in wp-content\plugins\organic-widget-area-block\src\class\class-widget-area.php on line 104