This topic has 10 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #163809
     rinda
    Participant

    Hi – on your stylish-woocommerce demo page, how can i configure the “Subscribe” button so it works?  I tried entering an email and hit the subscribe button but it says “Oops, something went wrong. Please try again later.”

     

    See screenshot attached.

    #163982
     Laura
    Moderator

    Hello, do you have any newsletter plugin active? mailchimp for example, you need to add a newsletter and set the sign up form for it at the page, that one works with mailchimp 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #164031
     rinda
    Participant

    I have it set up. I put the short code [mc4wp_form id=”8595″] in the text box for the subscribe button but it’s not working. What should I be doing?

    #164186
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #164354
     Radu
    Moderator

    Hi,

    Most sure it’s an error in ajax request, where I can see that (page url)

    Try to enable wp debug to see if some errors appear in debug.log file after you press on the button

    Follow these steps to enable wp debug:

    •  Connect to your server by FTP
    • Look in root directory of your WordPress install and open wp-config.php
    • Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
    COPY CODE
    define( 'WP_DEBUG', true );
    
    •   After this line add this:
    COPY CODE
    define( 'WP_DEBUG_LOG', true );
    

    WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).

    Repeat the described actions and then check the debug.log file and let me know what error appears.

    If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.

    After you have disabled the plugins try to see if the error persists.

    Cheers

    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #164882
     rinda
    Participant

    I deactivated 2 plugins (Askimet and Duplicator) and the following log file appears:

    [21-Jun-2017 17:09:01 UTC] Array
    (
    [akismet_debug] => Array
    (
    [akismet_url] => https://2dcbc92abcce.rest.akismet.com/1.1/deactivate
    [http_args] => Array
    (
    [body] => key=2dcbc92abcce&blog=http%3A%2F%2Fdev.topparentpicks.com
    [headers] => Array
    (
    [Content-Type] => application/x-www-form-urlencoded; charset=UTF-8
    [Host] => 2dcbc92abcce.rest.akismet.com
    [User-Agent] => WordPress/4.7.5 | Akismet/3.3.2
    )

    [httpversion] => 1.0
    [timeout] => 15
    )

    [response] => Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [server] => nginx
    [date] => Wed, 21 Jun 2017 17:09:01 GMT
    [content-type] => text/plain; charset=utf-8
    [content-length] => 11
    )

    )

    [body] => deactivated
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => deactivated
    [raw] => HTTP/1.1 200 OK
    Server: nginx
    Date: Wed, 21 Jun 2017 17:09:01 GMT
    Content-Type: text/plain; charset=utf-8
    Content-Length: 11
    Connection: close

    deactivated
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [server] => Array
    (
    [0] => nginx
    )

    [date] => Array
    (
    [0] => Wed, 21 Jun 2017 17:09:01 GMT
    )

    [content-type] => Array
    (
    [0] => text/plain; charset=utf-8
    )

    [content-length] => Array
    (
    [0] => 11
    )

    )

    )

    [status_code] => 200
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => https://2dcbc92abcce.rest.akismet.com/1.1/deactivate
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookies:protected] => Array
    (
    )

    )

    )

    [filename:protected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )

    )

    )

    #165025
     Radu
    Moderator

    HI,

    I see, the debug not gives hints, can you please provide admin credentials to can see the subscribe form in the first instance, please?

    Provide also the page where I can see the subscribe input.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #165028
     rinda
    Participant

    Hi – the webpage where the subscribe input is: http://dev.topparentpicks.com/home/.

    WP admin credentials:
    ID: TTP-Developer
    PW: YltO&WvJ*Cq4zBu&a@m53fCc

    FTP:
    Host: us16.siteground.us
    ID: Dev1@topparentpicks.com
    PW: TopPP143!

    #165316
     Radu
    Moderator

    Hi,

    The wp-admin credentials, not works, let me know the correct ones, but meanwhile you can try to check the form id from your homepage it’s the same as it’s in MailChimp plugin -> forms or if you are using the MailChimp Visual Composer element make sure to have it selected (see below screenshot)

    Let me know
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #165325
     rinda
    Participant

    Hi – I reset the password to a new one. Not sure why it didn’t work but here are the credentials:

    dev.topparentpicks.com/wp-admin
    ID: TPP-Developer
    PW: TPPdev143!!!

    I’m actually not seeing the same thing on your screenshot though…I used the “Stylish Woocommerce” demo page and tried to update just that section with the same Mailchimp form number. The page is the “Home” page in my list of pages. dev.topparentpicks.com/home

    #165539
     Radu
    Moderator

    Hi,

    There was an issue, the input (submit button) missing instead of the imput it was a

    COPY CODE
    
    <a href="#">
    

    So ,i’ve replace that, the button it’s communicate with maichimp but there it’s no list where the emial address to be subscribed or your mailchimp account isn’t connected with the site.

    If you want to color the subscribe button use this css

    COPY CODE
    
    .mc4wp-form .form-inline input.form-submit {
        background: #0a2342;
    }
    

    The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    So just assign a list to that form and that’s all

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?