Error in Theme Mailchimp widget

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

Status: resolved
  • This topic has 7 replies, 2 voices, and was last updated 5 y, 1 mo by  Max.
Viewing 7 reply threads
  • Author
    Posts
    • #11679

      endeos
      Member

      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

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

      Login | Register | Forgot Password?

    • #11708

      Max
      Staff

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

      Login | Register | Forgot Password?

    • #11725

      endeos
      Member

      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

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

    • #11762

      Max
      Staff

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

      Login | Register | Forgot Password?

    • #11771

      endeos
      Member

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

    • #11786

      Max
      Staff

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

      Login | Register | Forgot Password?

Viewing 7 reply threads
  • You must be logged in to reply to this topic.

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

© Copyright 2020 by wpthms.com. All Rights Reserved.