Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

PHP Fatal Error

$
0
0

Replies: 0

Hi,
I am getting Fatal error:

PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method WooCommerce\PayPalCommerce\Button\Assets\SmartButton::button_renderer() cannot be called statically in <path>/public_html/wp-includes/class-wp-hook.php:303

Error happens when I am trying to access any product page. PayPal buttons are DISABLED on all pages except checkout.

I think, it started to happen after upgrade of plugin to 1.6.3.
I tried to switch the theme to twentytwentyone — same problem.

WooCommerce 5.9, WP is at the latest. Running PHP8

At the moment, I disabled the plugin to get site back.

Any ideas what is wrong?

Thanks,
Rudolf


Viewing all articles
Browse latest Browse all 59525

Trending Articles