• Resolved taastrategies

    (@taastrategies)


    Wow, I feel like the only dummy in the room so thanks for the plugin and looking at this.

    I’m using WP 4.8.3 and GeneratePress theme. I installed MemberPress and they are recommending your plugin so I installed it.

    If I click on “Log in” and enter credentials, I am taken to the Subscribers page which is correct behavior. The Menu bar shows “Log Out”. If I select the home page or any other page on the main menu (except Subscribers), the Menu bar shows “Log In” but I am still logged in. Returning to the Subscribers page shows “Log Out”. If I go to any of the pages which shows “Log In” and hit Refresh, it will then show “Log Out”.

    I get this same behavior in Chrome and FireFox. Edge correctly shows Log Out when selecting any of the menu pages; however it incorrectly shows Log In on selecting the home page.

    Test credentials: tjones TJ1234tj#

    Earl

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author cartpauj

    (@cartpauj)

    Sounds like a browser caching issue. Check your caching plugin or web-hosts caching settings.

    Thread Starter taastrategies

    (@taastrategies)

    Already did that yesterday. I use Siteground for hosting and use their own SG Optimizer plugin which provides caching. No other cache plugin. I spent 30 minutes with a very good support technician examining possible cache issues. Ultimately, we turned off both the plugin and the host based cache. There was no change in behavior of Login/Logout.

    Thread Starter taastrategies

    (@taastrategies)

    I have discovered an additional anomaly which suggests the issue is not cache related.

    When I Login, menu bar is not updated to “Log Out” for pages other than the target Subscriber page. Updating these pages requires a refresh.

    When I Logout, menu bar is updated to “Log In” for all pages. No refresh is required.

    Apparently Log Out is forcing an internal refresh not forced for Log In

    Thread Starter taastrategies

    (@taastrategies)

    More reading, more testing, more information.

    Forcing clear cache in each of the browsers (C/F/E) has resolved the issues on all pages selected from the menu bar.

    A successful Login defaults to the Subscriber page which correctly shows Logout on the menu bar. Logout is shown on the menu bar for all other selected sub pages. Selecting the Home page displays Login in the menu bar. The default page following Logout is the Home page and it correctly shows Login on the menu bar.

    Plugin Author cartpauj

    (@cartpauj)

    It’s definitely browser caching. Have the host check to see if an “expires” or “cache-control” HTTP header is being set. If so, they’ll need to figure out where it’s coming from and remove it. I’d start with what might be in .htaccess if you’re certain everything else is disabled.

    Thread Starter taastrategies

    (@taastrategies)

    It was a cache-control HTTP header being sent. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menu not updated (refresh required)’ is closed to new replies.