• Resolved jernias

    (@jernias)


    Dear Staff,

    I am using JetFormBuilder for forms and getting “nonce_failed” error when submitting form. When I disable Litespeed, error resolves. I didn’t enable cache for any page, just using “memcached” object cache and css optimization. I am sure its related to object cache because when error first appeared, I was using Litespeed for only object cache, nothing more.

    I added ESI Nonces as following and form submission solved for users except admin.
    stats_nonce
    subscribe_nonce
    jet_fb_nonce private
    jet_formbuilder_nonce private
    ajax_linking_nonce private jet* private
    elementor_* private
    wp_nonce private

    Also added these ones to cookie exclude
    jet_fb_nonce
    jet_formbuilder_nonce
    wp_nonce
    _ajax_linking_nonce

    Last Report Number: AXRNPFCR
    Last Report Date: 12/16/2025 18:00:36

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter jernias

    (@jernias)

    I also submitted ticket on crocoblock but they couldn’t resolve it. Adding this line of code in functions.php, didn’t work as well.

    add_filter('jet-form-builder/security/csrf-token/datetime-limit', function ($datetime) {
    return $datetime->modify( '-8 hours' );
    });

    Plugin Support qtwrk

    (@qtwrk)

    add nonces into esi nonce list is not engouh , you need to toggle “enable esi” to on , that is the master switch

    Thread Starter jernias

    (@jernias)

    I enabled ESI
    – Website slows down extremely.
    – JetEngine’s “profile builder” pages duplicates it’s content and doesn’t stop duplicating. (console errors: https://imgur.com/a/bbwt87R)
    – Nonce error doesn’t resolve.

    I was wondering, if ESI is the correct approach to fix JetFormBuilder’s nonce failure?

    Thread Starter jernias

    (@jernias)

    By the way, purging cache doesn’t work as well

    Plugin Support qtwrk

    (@qtwrk)

    okay , that means ESI may not be compatible in your site

    for such case, the only alternative is set a short cache TTL, like 12 hours or lower , to satisfy the nonce lifespan

    Thread Starter jernias

    (@jernias)

    i set TTL waited at least 1 day to try again, didn’t work out. I get nonce_failed error still.

    https://imgur.com/a/vUZL9oM

    Thread Starter jernias

    (@jernias)

    i don’t know how but i does only happen to admin user, other users can submit forms without error

    Plugin Support qtwrk

    (@qtwrk)

    please share the http response header on the page, when you get that error.

    Thread Starter jernias

    (@jernias)

    Plugin Support qtwrk

    (@qtwrk)

    no no , this is redirected , as after nonce failed message, I was asking the one before you submit

    Thread Starter jernias

    (@jernias)

    https://imgur.com/a/nUMJvg2

    i hope its the correct one

    Plugin Support qtwrk

    (@qtwrk)

    okay , now that makes no sense , let’s rewind this

    based on your first topic , when that occurs , if you only do purge object cache , will it work ?

    Thread Starter jernias

    (@jernias)

    this error started at least 1 months ago, but i am not sure if it started with litespeed installation or not.

    At start, i was using litespeed for only object cache and evertyhing else was disabled. Nonce validation was still failing. Tried disabling object cache and purging it but didnt work out. Only nonce validation worked when litespeed is deactivated.

    I didnt work on this problem much at that time and enabled other features for css, js, browser cache etc. but error was still there.

    At this stage of my website, litespeed boosted my performance significantly and i don’t want to deactivate it. Other users seem to not effected by nonce error except admin user. By the way, i disabled plugins which is admin tools such as query monitor, but didnt work out too. I can send plugins list if necessary.

    Plugin Support qtwrk

    (@qtwrk)

    the only thing that possibly interact with nonce is the ESI , but your case seems have ESI disabled

    but let’s just make sure it is off , please go to toolbox -> import/export -> reset to default setting , try the default , without object cache , see if it works

    Thread Starter jernias

    (@jernias)

    tried resetting settings to default and purged cache, deleted browser cache and logged in again as admin but didn’t work out. Things I tried also:
    1- disabled all of the plugins that doesn’t effect front-end, didn’t work.
    2- tried ESI again without but still no good.

Viewing 15 replies - 1 through 15 (of 22 total)

You must be logged in to reply to this topic.