• Resolved doglett

    (@doglett)


    I have a site which uses SlickNav Mobile Menu and have found that the menu displays when a user is logged in, but not when they’re logged out.

    Looking at the page code, when logged in the <div class=”slicknav_menu”>…</div> menu is there, but when logged out its not there.

    What could be causing it to only appear when logged in?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author neilgee

    (@neilgee)

    Could be a plugin conflict – does it show when all plugins bar SlickNav are deactivated?

    Thread Starter doglett

    (@doglett)

    Apologies for the delay, been on another project for the last week or so ( but thanks for your prompt reply though).

    Before testing plugins I noticed in the console log this error:

    Can't find variable: slickNavVars

    This morning I’ve Gradually deactivated plugins and found that I can get the menu to appear if I turned off ‘WP Mega Menu’ (v1.4.2) which is being used for the desktop versions of the site. However, whilst turning that off did work, the only thing that appeared was the SlickNav menu – not even the content on the page rendered! I removed the code which was rendering ‘WP Mega Menu’ and everything on the page was displayed as normal.

    However, having deactivated ‘WP Mega Menu’, I cleared the cache but still had the issue with SlickNav not displaying when logged out but it was displaying when logged in.

    • This reply was modified 1 year, 5 months ago by doglett.
    • This reply was modified 1 year, 5 months ago by doglett. Reason: Clarified the steps I took in testing
    Thread Starter doglett

    (@doglett)

    Okay, I’ve solved it.

    Turns out that ‘WP Rocket’ was causing issues even though I’d deactivated it. I think maybe the cache wasn’t being cleared properly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu showing when logged in, not when logged out’ is closed to new replies.