• Resolved fakokay

    (@fakokay)


    Hi,

    first of all, the plugin works well normally, i just tested again right now and the submission is working well… But sometimes (often if i see my Debug logs) i get this line:

    [2020-04-06 14:29:04] Nonces.INFO: ctct_submit_form nonce failed to verify. [] []

    One of my visitor had the reflex to send me a snaphost and there is a red message before the form like this:

    We had trouble processing your submission. Please review your entries and try again

    Do you know what may cause this? is the debug logs line is related to the message the user is getting?

    Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter fakokay

    (@fakokay)

    i include the last 5 logs here like requested:

    [2020-04-06 18:12:55] Nonces.INFO: ctct_submit_form nonce failed to verify. [] []
    [2020-04-06 18:13:13] Nonces.INFO: ctct_submit_form nonce failed to verify. [] []
    [2020-04-06 18:20:21] Nonces.INFO: ctct_submit_form nonce failed to verify. [] []
    [2020-04-06 18:20:33] Nonces.INFO: ctct_submit_form nonce failed to verify. [] []
    [2020-04-06 18:29:04] Nonces.INFO: ctct_submit_form nonce failed to verify. [] []

    like already said, it’s intermittent and i have over 60 lines of that kind of logs.

    regards,

    Plugin Author Constant Contact

    (@constantcontact)

    Hi @fakokay

    Chances are that the nonce value being used by the plugin is getting cached and expiring before it can be refreshed, causing these lines in your error log. Do you have some strong caching in place on your site?

    This error definitely is related to the one your visitor relayed to you. We’re looking into revising this as well, so it shouldn’t be an issue in a future release.

    Thread Starter fakokay

    (@fakokay)

    hi,

    i was using the ‘Cache Enabler’ plugin indeed. i’ve now put the IDs of the pages where your plugin is and clear the logs. We’ll see is the problem still occur. Thx!

    BTW, just updated your plugin (18.1 to 1.8.2)… it’s deleting all logs files/dir. When i get back to the debug logs page, it said that it can’t read the log file… because the directory and the file isn’t there anymore on the server. You should create an empty file or change the error in the log box when you do the migration. In my case, i’ve created a empty file and solved the problem (chmod 0666).

    • This reply was modified 4 years, 7 months ago by fakokay.
    Plugin Author Constant Contact

    (@constantcontact)

    The biggest part of version 1.8.2 was moving where we attempt log storage, from just inside wp-content to inside wp-content/uploads/ since we found that was a much more frequently successfully write-able location out of box. So hopefully it’s trying to log to and read from wp-content/uploads/ctct-logs/constant-contact-errors.log now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem while submitting form… sometimes.’ is closed to new replies.