• “Notice: The called constructor method for WP_Widget in wp_stripe_recent_widget is deprecated since version 4.3.0! Use __construct() instead.”

    I’ve fixed this by updating line 17 of wp-stripe/includes/stripe-widget-recent.php from:
    $this->WP_Widget( 'wp-stripe-recent', __( 'WP Stripe - Recent', 'wp-stripe' ), $widget_ops, $control_ops );

    to:
    parent::__construct( 'wp-stripe-recent', __( 'WP Stripe - Recent', 'wp-stripe' ), $widget_ops, $control_ops );

    • This topic was modified 9 years, 1 month ago by jasonsherwin.

The topic ‘“constructor method for WP_Widget in wp_stripe_recent_widget is deprecated”’ is closed to new replies.