Forum Replies Created

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, 2 months ago by rtacorp.
    • This reply was modified 2 years, 2 months ago by rtacorp.
    Thread Starter rtacorp

    (@rtacorp)

    Yes.

    Thread Starter rtacorp

    (@rtacorp)

    Thank you for your reply. I used the Debug Feature to determine the cause. It was my API code having extraneous characters in the string.

    Note: Groups are primarily used for user input selection. Would be nice to have a field for Tags to complement groups.

Viewing 3 replies - 1 through 3 (of 3 total)