• Resolved rtacorp

    (@rtacorp)


    Hello,

    The Plugin v2.50 is generating an error with the new version 3.10.0 of Elementor. Specifically, the following error is generated.

    Deprecated: Hook elementor/widgets/widgets_registered is?deprecated?since version 3.5.0! Use elementor/widgets/register instead. in?/wp-includes/functions.php?on line?5758

    The hooks in the Plugin need to be changed to the new Elementor requirements. Please correct and issue an update.

    Since our site is live, we have disabled the display of WordPress errors. The error shown above is from our development system. If you cannot duplicate this condition, we can give you access to our development system.

    • This topic was modified 2 years, 1 month ago by rtacorp.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rtacorp

    (@rtacorp)

    There are actually two errors generated:

    PHP Deprecated:  Function Elementor\Widgets_Manager::register_widget_type is <strong>deprecated</strong> since version 3.5.0! Use register instead. /wp-includes/functions.php on line 5383

    PHP Deprecated:  Hook elementor/widgets/widgets_registered is <strong>deprecated</strong> since version 3.5.0! Use elementor/widgets/register instead. in wp-includes/functions.php on line 5758

    I traced the errors to /inc/elementor/class-simple-author-box-elementor-widget-activation.php

    Line 44:
    \Elementor\Plugin::instance()->widgets_manager->register_widget_type(new Widgets\SAB_Elementor_Widget());
    
    Change to: 
    \Elementor\Plugin::instance()->widgets_manager->register(new Widgets\SAB_Elementor_Widget());
    
    Line 53:
    add_action('elementor/widgets/widgets_registered', array($this, 'register_widgets') )
    
    Change to:
    add_action('elementor/widgets/register', array($this, 'register_widgets') )
    
    

    Not knowing your code, the fixes above are educated guesses. However, the changes remove the errors.

    Thank you for looking into this and looking forward to an update.

    • This reply was modified 2 years, 1 month ago by rtacorp.
    • This reply was modified 2 years, 1 month ago by rtacorp.
    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Thank you for letting us know, we will update it ASAP ??

    Hi ,

    I can’t find this file path ./inc/elementor/class-simple-author-box-elementor-widget-activation.php Can you please help with this

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Version 2.50 Errors with Elementor v3.10.0’ is closed to new replies.