• Resolved hemsidor

    (@hemsidor)


    Hi,

    We just built a new e-commerce website and have a problem with the mobile menu.
    When LiteSpeed cache is active the menu just start loading but never expands.

    The error we are getting is: “/wp-json/jet-menu-api/v1/get-menu-items?menu_id=3&dev=false&lang=false:1 Failed to load resource: the server responded with a status of 403 ()”.

    We dont know how to reproduce the problem. The only thing we have learned is that it occurs after some time (atleast 1+ hours) with LiteSpeed Cache active.
    If we disable LiteSpeed cache plugin the problem never occurs.

    The site is responsive with jetmenu megamenu in a standard menu inside a header made with Elementor.

    Report number: PAYDYEJF

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    this is most likely a nonce issue

    please do a text search over that plugin’s file , looking for word restNonce , and please post me what you found

    Best regards,

    Thread Starter hemsidor

    (@hemsidor)

    Found it in some places in the jet-menu plugins js file. Inside an ajax call.
    For example:

    View post on imgur.com

    I can send you the file if you want to.

    • This reply was modified 3 years, 10 months ago by hemsidor.
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    this is javascript code , I am looking for this keyword within a PHP code

    please try search it over PHP files of that plugin.

    Best regards,

    Thread Starter hemsidor

    (@hemsidor)

    Ok found it in class-jet-menu-assets.php here:

    View post on imgur.com

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    okay , this is bit of weird though

    now please try go to Cache -> ESI , enable ESI, then add wp_rest into ESI nonce list , save and purge all , see how it goes

    Best regards,

    Thread Starter hemsidor

    (@hemsidor)

    Did that and now it doesnt work at all.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please create a ticket by mail to support at litespeedtech.com

    we will investigate it further

    Best regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mobile hamburger menu not expanding with litespeed cache active’ is closed to new replies.