• Resolved segamaze

    (@segamaze)


    Hi,

    I have the following error when I want to access a product page.
    Using the Avada Theme Version 7.6.1 and all other plugins are the newest version.

    Deprecated: Non-static method WooCommerce\PayPalCommerce\Button\Assets\SmartButton::button_renderer() should not be called statically in /html/xx/wp-includes/class-wp-hook.php on line 308
    
    Fatal error: Uncaught Error: Using $this when not in object context in /html/xx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php:562 Stack trace: #0 /html/xx/wp-includes/class-wp-hook.php(308): WooCommerce\PayPalCommerce\Button\Assets\SmartButton::button_renderer('') #1 /html/xx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #2 /html/xx/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /html/xx/wp-content/plugins/fusion-builder/shortcodes/components/woo-cart.php(457): do_action('awb_after_woo_a...') #4 /html/xx/wp-content/plugins/fusion-builder/shortcodes/components/woo-cart.php(402): FusionTB_Woo_Cart->get_cart() #5 /html/wordpress-esportfactory/wp-includes/shortcodes.php(355): FusionTB_Woo_Cart->render(Array, '', 'fusion_tb_woo_c...') #6 [internal function]: do_shortcode_tag(Array) #7 /html/xx/wp-incl in /html/xx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php on line 562
Viewing 1 replies (of 1 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @segamaze,

    I suggest updating the Avada theme and also the Avada Builder plugin to the latest version. Older versions of this theme (and specifically the Builder plugin) were causing compatibility issues with PayPal Payments.
    But this should be working well with the latest Avada versions.

    Kind regards,
    Niklas

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated: Non-static method’ is closed to new replies.