Subscribe button confusing issue

10 replies
  • WEB DESIGN
  • |
I have recently integrated a new popup form to my website using Ninja Popups for wordpress.

The problem I have is that when the user clicks the subscribe button, nothing happens. Any idea what this may be?

Relationship Advice Pro - Relationship and dating advice
#button #confusing #issue #subscribe
  • Profile picture of the author shahriyar
    I debugged the button, the button is a Ajax button. It does send the submit request but your server is returning a "500 internal server error" when it is trying to reach the admin-ajax.php.

    See here,


    Probably a security plugin that you have installed on your site is blocking this ajax call. You might want to check on that.
    {{ DiscussionBoard.errors[8821863].message }}
  • Profile picture of the author oliverjones
    I have turned off all my plugins but it still wont work. Is there anything else I can do?
    {{ DiscussionBoard.errors[8822006].message }}
  • Profile picture of the author nettiapina
    Anything weird in your .htaccess file? Some security changes might survive turning off a plugin, because they're actually permanently there.
    Signature
    Links in signature will not help your SEO. Not on this site, and not on any other forum.
    Who told me this? An ex Google web spam engineer.

    What's your excuse?
    {{ DiscussionBoard.errors[8822126].message }}
  • Profile picture of the author oliverjones
    My ht access is as follows


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress


    Is all that ok?
    {{ DiscussionBoard.errors[8823197].message }}
  • Profile picture of the author oliverjones
    This is the error log

    [Sun Dec 29 20:55:40 2013] [error] [client 89.243.18.29] PHP Fatal error: Uncaught exception 'Mailchimp_List_MergeFieldRequired' with message 'NAME must be provided - Please enter a value' in /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/include/mailchimp/Mailchimp.php:219\nStack trace:\n#0 /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/include/mailchimp/Mailchimp.php(198): Mailchimp->castError(Array)\n#1 /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/include/mailchimp/Mailchimp/Lists.php(656): Mailchimp->call('lists/subscribe', Array)\n#2 /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/arscode-ninja-popups.php(103): Mailchimp_Lists->subscribe('cc0b4a8bd4', Array, Array)\n#3 [internal function]: snp_popup_submit('')\n#4 /nas/wp/www/cluster-1991/reladvicepro/wp-includes/plugin.php(429): call_user_func_array('snp_popup_submi...', Array)\n#5 /nas/wp/www/cluster-1991/reladvicepro/wp-admin/admin-ajax.php(91): do_action('wp_ajax_nopriv_...')\n#6 {main}\n thrown in /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/include/mailchimp/Mailchimp.php on line 219, referer: What is the best age to find love? - Relationship Advice Pro - Relationship Advice Pro
    {{ DiscussionBoard.errors[8823209].message }}
    • Profile picture of the author shahriyar
      Originally Posted by oliverjones View Post

      This is the error log

      [Sun Dec 29 20:55:40 2013] [error] [client 89.243.18.29] PHP Fatal error: Uncaught exception 'Mailchimp_List_MergeFieldRequired' with message 'NAME must be provided - Please enter a value' in /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/include/mailchimp/Mailchimp.php:219\nStack trace:\n#0 /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/include/mailchimp/Mailchimp.php(198): Mailchimp->castError(Array)\n#1 /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/include/mailchimp/Mailchimp/Lists.php(656): Mailchimp->call('lists/subscribe', Array)\n#2 /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/arscode-ninja-popups.php(103): Mailchimp_Lists->subscribe('cc0b4a8bd4', Array, Array)\n#3 [internal function]: snp_popup_submit('')\n#4 /nas/wp/www/cluster-1991/reladvicepro/wp-includes/plugin.php(429): call_user_func_array('snp_popup_submi...', Array)\n#5 /nas/wp/www/cluster-1991/reladvicepro/wp-admin/admin-ajax.php(91): do_action('wp_ajax_nopriv_...')\n#6 {main}\n thrown in /nas/wp/www/cluster-1991/reladvicepro/wp-content/plugins/arscode-ninja-popups/include/mailchimp/Mailchimp.php on line 219, referer: What is the best age to find love? - Relationship Advice Pro - Relationship Advice Pro
      I think this is the problem and reason behind why the ajax call is not working, the code is messy but I can guess there is a problem somewhere where the code tries to subscribe a new User on your MailChimp account.

      You should definitely send this error code to the ninja plugin support, they should be able to fix this quickly.
      {{ DiscussionBoard.errors[8823746].message }}
  • Profile picture of the author shahidali788
    uninstall your plugin and then remove it. after this you should install plugin again and then try again. this will be work.
    {{ DiscussionBoard.errors[8824892].message }}
  • Profile picture of the author nettiapina
    I guess this has been solved. Tried it yesterday and it seemed to work.
    Signature
    Links in signature will not help your SEO. Not on this site, and not on any other forum.
    Who told me this? An ex Google web spam engineer.

    What's your excuse?
    {{ DiscussionBoard.errors[8826960].message }}

Trending Topics