• Resolved Efs

    (@stevendigital)


    Hello,

    Today<span style=”box-sizing: border-box; margin: 0px; padding: 0px;”>, I encountered this problem: When I am logged in as an Admin user, the “Edit post” in the admin bar of the front-end does not appear. I want to point out that the admin role is excluded from caching, and I have also disabled caching for logged-in users</span>. I also switched on and off in

    I troubleshoot the problem using the LSCWP_CTRL=NOCACHE parameter, and I saw that the button appeared. After disabling most of the admin-related options (and even logged-in user and admin user roles were not cached), I then disabled the ESI setting, and the bar appeared. I have excluded the caching of the admin bar, but the problem still appears.

    Can this be a bug related with the settings of ESI, or is there any other approach on this?

    Conflicts with themes or plugins were tested, and none were found. If it was a problem after all, then the LSCWP_CTRL=NOCACHE parameter that serves the purpose would not solve the problem.

    Let me know your thoughts/approach on this.

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

    (@litetim)

    @stevendigital please send us a report. This can be done from LSC => Toolbox => Report => click on “Send to Litespeed”
    And share the ID generated.

    Thank you!

    Thread Starter Efs

    (@stevendigital)

    Hello @litetim ,

    Thank you for your response. Here is the ID generated from the report: WROXHKBE

    Currently the ESI is disabled on the live site that the report is generated.

    Let me know if you need any more information.

    Plugin Support litetim

    (@litetim)

    @stevendigital

    Turning ESI ON causes the issue?

    One thing I would check is to see if page source has the element <div id="wpadminbar" present.
    You can look in Developer Toolbar -> Elements and this way you can test if any CSS hides it.

    Thread Starter Efs

    (@stevendigital)

    @litetim

    Regarding question 1: Turning ESI ON causes the issue?
    A: Yes. The site is live and if it is turned on, it causes the problem aforementioned.

    Regarding question 2 about the wpadminbar.
    A: In source code, wpadmin is there. The option of “Edit post” is removed. There is no CSS hiding it, as it is not rendered on HTML, at all.

    Plugin Support qtwrk

    (@qtwrk)

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic

    we will investigate further.

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

The topic ‘Admin Edit post does not appear on admin bar inside an article’ is closed to new replies.