• Hey there, I just noticed that this plugin is triggering a deprecation warning Deprecated: Required parameter $submit_text follows optional parameter $list in [baseurl]/wp-content/plugins/yikes-inc-easy-mailchimp-extender/public/helpers.php?on line?14. I can’t seem to hide it either using wp-config commands either.

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

Viewing 1 replies (of 1 total)
  • @bobbybosler here’s a temporary fix while developers come back with a new update. Make sure to take a backup of the file before you start editing things.

    Add this inside the function on line 14.

    if ( ! isset( $list ) ) {
        $list = false;
    }

    And remove =false from the function parameters

    On line 14 change this:
    function yksemeProcessSnippet( $list=false, $submit_text )
    to this:
    function yksemeProcessSnippet( $list, $submit_text )

    The final result will look like this:

    function yksemeProcessSnippet( $list, $submit_text ) {
    if ( ! isset( $list ) ) {
        $list = false;
    }
    $submit_text = ( isset( $submit_text ) ) ? 'submit="' . $submit_text . '"' : '';
    	return do_shortcode( '[yikes-mailchimp form="' . $list . '" ' . $submit_text . ']' );
    }

    Make sure to take a backup of the file before you start editing things.

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated warning in WordPress 6.3, can’t hide’ is closed to new replies.