• With Elementor 3.10.1 and YITH WooCommerce Quick View, this error appears:

    PHP Deprecated: elementor/widgets/widgets_registered is deprecated since version 3.5.0! Use elementor/widgets/register instead

    In line 48 of file

    yith-woocommerce-quick-view/plugin-fw/includes/builders/elementor/class-yith-elementor.php

    replace

    add_action( 'elementor/widgets/widgets_registered', array( $this, 'register_widgets' ) )

    by

    if (version_compare( ELEMENTOR_VERSION, '3.5.0', '>=' )) {
    	add_action( 'elementor/widgets/register', array( $this, 'register_widgets' ) );
    } else {
    	add_action( 'elementor/widgets/widgets_registered', array( $this, 'register_widgets' ) );
    }
    

    • This topic was modified 1 year, 10 months ago by coriolis_too.
Viewing 1 replies (of 1 total)
  • Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    hope you are doing well! ??

    Thanks for the report, we’re checking it and probably it will be implemented in the next plugin version.

    Have a nice day!

Viewing 1 replies (of 1 total)
  • The topic ‘Fix for Deprecated Warning with Elementor’ is closed to new replies.