Viewing 6 replies - 1 through 6 (of 6 total)
  • My forms are also not working with the latest update.

    from want i can tell as the new version uses the rest api, which it creates a nonce to contact the rest api.

    nonces only last 24 hours by default but I have a page cache plugin that caches the response without touching php, so after 24 hours the nonce that is in the cached version is no longer valid and when it submits it returns unauthorized.

    Have you got a cache plugin ?

    David

    Correction contact form was using rest Api already however before it was using jquery ajax and now its using WordPress own rest api javascript library.

    The ajax didn’t bother with a nonce.

    David

    Thread Starter sanjaymill

    (@sanjaymill)

    page cache plugin was causing the issue. I have disabled it. But i want to use the cache plugin again. Have any other solution so that i can use both the plugin?

    My only solutions are adding to the cron and getting the cache to clear every 24 hours
    or downgrade back to 5.3.2.

    I’ve done the latter.

    David

    Can mark as unresolved as we have only found temporary solutions.

    Never mind they pushed a fix in 5.4.1

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Contact form is not working after the latest update 5.4’ is closed to new replies.