Error in Theme Mailchimp widget

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 7 replies, has 2 voices, and was last updated by  Max 1 year, 12 months ago.

  • Author
    Posts
  • #11679

    endeos
    Member
    Post count: 3

    Hi guys,

    I’m having problems with the widget (Theme) Mailchimp Suscription form:

    I have API MailChimp set in theme options. I can see my MailChimp lists in the widget config and I can choose any of them. The problem comes when I try to subscribe, the widget triggers the error saying that I don’t have any list selected.

    Thanks for your attention.

  • #11706

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #11708

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #11725

    endeos
    Member
    Post count: 3

    Hi again,

    I think I found the problem…

    I was trying to load the widget inside top bar (override of file top-bar.php) with the code below:

    <?php the_widget(‘YT_Mailchimp_Subscription_Form_Widget’);?>

    Obviously I need to send $instance and $args to the function, that’s the problem.

    Can you tell me the structure of instance and arguments, please?

    I also noticed that the plugin works well when the widget is in the sidebar, but fails in any other position.

  • #11739

    endeos
    Member
    Post count: 3

    Any help about how to call the widget from a PHP file, please?

  • #11762

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #11771

    endeos
    Member
    Post count: 3

    Yeah it worked! Thank you Maxxi. You’re right, this is the best solution.

  • #11786

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!