• Resolved Abdur Rahim Rasel

    (@abrasel600)


    Hello,

    After updating the LiteSpeed Cache plugin, I am encountering a “Nonce verification failed” error. It seems to be conflicting with other plugins such as FluentCRM and Easy Digital Downloads.

    Could you please check and help me resolve this issue?

    Regards,
    Rasel

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support litetim

    (@litetim)

    @abrasel600 please create and share a report ID,
    This can be done from LSC => Toolbox => Report => click on “Send to Litespeed”


    Thank you πŸ™‚

    Thread Starter Abdur Rahim Rasel

    (@abrasel600)

    Hello @litetim ,

    I have sent it. Please check now.

    Plugin Support litetim

    (@litetim)

    @abrasel600 please share the Report ID πŸ™‚

    • This reply was modified 9 months ago by litetim.
    Thread Starter Abdur Rahim Rasel

    (@abrasel600)

    Here is the report ID: AFALWKGX

    Plugin Support qtwrk

    (@qtwrk)

    how does it fail ?

    like it fails all the time ? or it works for while , then fails ?

    Thread Starter Abdur Rahim Rasel

    (@abrasel600)

    When I enable the LS Cache plugin and navigate through the menus, I encounter a “Nonce Failed” issue. However, when I disable the plugin, everything works correctly.

    Please check the screenshot: https://tinyurl.com/258umkzo.

    Plugin Support qtwrk

    (@qtwrk)

    please go to LiteSpeed Cache -> Cache -> ESI , disable ESI , purge all and see how it goes

    Thread Starter Abdur Rahim Rasel

    (@abrasel600)

    It works fine when I disable the ESI option: https://tinyurl.com/22byfcxm, but it needs to be enabled; otherwise, the site won’t be cached and will run slowly.

    Plugin Support qtwrk

    (@qtwrk)

    function buffer_output_after( $content ) {
    if (strpos($_SERVER['REQUEST_URI'], "test") !== false){
    error_log( print_r($content, true), 3, WP_CONTENT_DIR . '/litespeed/debug/dump_after.log' );
    }
    return $content;
    }
    add_filter( 'litespeed_buffer_after', 'buffer_output_after', 0);

    please add this to your theme functions.php

    then open the page as https://domain.com/?test then you will see a file in wp-content/litespeed/debug/dump_after.log

    from this file , search for a string like ?lsesi=xxxx share the found

    Thread Starter Abdur Rahim Rasel

    (@abrasel600)

    Check debug log data:

    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant AUTH_KEY already defined in /home/themw/public_html/wp-config.php on line 75
    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant SECURE_AUTH_KEY already defined in /home/themw/public_html/wp-config.php on line 76
    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant LOGGED_IN_KEY already defined in /home/themw/public_html/wp-config.php on line 77
    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant NONCE_KEY already defined in /home/themw/public_html/wp-config.php on line 78
    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant AUTH_SALT already defined in /home/themw/public_html/wp-config.php on line 79
    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant SECURE_AUTH_SALT already defined in /home/themw/public_html/wp-config.php on line 80
    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant LOGGED_IN_SALT already defined in /home/themw/public_html/wp-config.php on line 81
    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant NONCE_SALT already defined in /home/themw/public_html/wp-config.php on line 82
    [06-Apr-2025 09:58:56 UTC] PHP Warning: Constant AUTH_KEY already defined in /home/themw/public_html/wp-config.php on line 75

    Plugin Support qtwrk

    (@qtwrk)

    you have created a ticket already , I will close this topic

    further communication should be continued on the ticket.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Nonce verification failed issue’ is closed to new replies.