• Resolved maartenqh

    (@maartenqh)


    Hi i want to setup wordfence on our website and i cant get past an certain issue. i get all the time the same error: “your browser sent an invalid security token. please try reloading this page.”

    i already tried:
    – WordPress health check
    – Wordfence assistant
    – New install of latets WordPress version
    – Deactivation all plugins and go to standard theme.

    what is there what i can do?

    This is the console log.

    jquery-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2
    admin.php?page=WordfenceWAF:2459 Uncaught TypeError: Cannot read properties of undefined (reading 'length')
        at admin.php?page=WordfenceWAF:2459
        at dispatch (jquery.min.js?ver=3.6.0:2)
        at v.handle (jquery.min.js?ver=3.6.0:2)
        at Object.trigger (jquery.min.js?ver=3.6.0:2)
        at jquery.min.js?ver=3.6.0:2
        at Function.each (jquery.min.js?ver=3.6.0:2)
        at s.fn.init.each (jquery.min.js?ver=3.6.0:2)
        at s.fn.init.trigger (jquery.min.js?ver=3.6.0:2)
        at admin.php?page=WordfenceWAF:2615
        at Object.success (admin.1629122067.js?ver=7.5.5:1861)
    (anonymous) @ admin.php?page=WordfenceWAF:2459
    dispatch @ jquery.min.js?ver=3.6.0:2
    v.handle @ jquery.min.js?ver=3.6.0:2
    trigger @ jquery.min.js?ver=3.6.0:2
    (anonymous) @ jquery.min.js?ver=3.6.0:2
    each @ jquery.min.js?ver=3.6.0:2
    each @ jquery.min.js?ver=3.6.0:2
    trigger @ jquery.min.js?ver=3.6.0:2
    (anonymous) @ admin.php?page=WordfenceWAF:2615
    success @ admin.1629122067.js?ver=7.5.5:1861
    c @ jquery.min.js?ver=3.6.0:2
    fireWith @ jquery.min.js?ver=3.6.0:2
    l @ jquery.min.js?ver=3.6.0:2
    (anonymous) @ jquery.min.js?ver=3.6.0:2
    load (async)
    send @ jquery.min.js?ver=3.6.0:2
    ajax @ jquery.min.js?ver=3.6.0:2
    s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2
    ajax @ admin.1629122067.js?ver=7.5.5:1846
    (anonymous) @ admin.php?page=WordfenceWAF:2614
    dispatch @ jquery.min.js?ver=3.6.0:2
    v.handle @ jquery.min.js?ver=3.6.0:2
    trigger @ jquery.min.js?ver=3.6.0:2
    (anonymous) @ jquery.min.js?ver=3.6.0:2
    each @ jquery.min.js?ver=3.6.0:2
    each @ jquery.min.js?ver=3.6.0:2
    trigger @ jquery.min.js?ver=3.6.0:2
    (anonymous) @ admin.php?page=WordfenceWAF:2625
    e @ jquery.min.js?ver=3.6.0:2
    t @ jquery.min.js?ver=3.6.0:2
    setTimeout (async)
    (anonymous) @ jquery.min.js?ver=3.6.0:2
    c @ jquery.min.js?ver=3.6.0:2
    fireWith @ jquery.min.js?ver=3.6.0:2
    fire @ jquery.min.js?ver=3.6.0:2
    c @ jquery.min.js?ver=3.6.0:2
    fireWith @ jquery.min.js?ver=3.6.0:2
    ready @ jquery.min.js?ver=3.6.0:2
    B @ jquery.min.js?ver=3.6.0:2

    and also this error in my network console from the /admin-ajax.php?_fs_network_admin=true

    {“errorMsg”:”your browser sent an invalid security token. please try reloading this page.”,”tokenInvalid”:1}

    • This topic was modified 3 years, 5 months ago by maartenqh.
    • This topic was modified 3 years, 5 months ago by maartenqh.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wfphil

    (@wfphil)

    Hi @maartenqh

    This is often caused by:

    1) A plugin or custom code to change the load ordering of JavaScript such as deferring the parsing of Javascript.

    2) A plugin that combines JavaScript files or minifies JavaScript code.

    Do you have such a plugin that has this functionality? It might be in a caching plugin.

    Have you added any custom code to your site to change the load ordering of JavaScript such as deferring the parsing of Javascript?

    Thread Starter maartenqh

    (@maartenqh)

    Hi @wfphil ,

    We don’t made any changes to any plugin or even an template of the Thema its al standard.
    So we have nothing running that can change the load order of the javascript.

    Its really strange because i have never had this on other website were i installed WF

    Plugin Support wfphil

    (@wfphil)

    Hi @maartenqh

    Thank you for the update. Have you tried it in another browser with all browser extensions disabled? Please don’t use a private session, disable all browser extensions instead. Do you have the same problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘your browser sent an invalid security token. please try reloading this page.’ is closed to new replies.