Support » Plugin: WP-Optimize - Clean, Compress, Cache. » Purge cache for editors

  • Resolved LRA21

    (@slysoft)


    Hi!
    I need to show ”Purge cache” button on admin bar for users with EDITOR role.
    How to do that?
    Thank you!

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

    (@bornforphp)

    @slysoft Purge cache button can only be available for users with admin role.

    Thread Starter LRA21

    (@slysoft)

    I have a problem sometimes with new posts that don’t appear in the frontend. Only white pages appear. If I as an administrator give Purge Cache, they appear, but if I do not purge, the page with that post appears white without any content.
    What happens? How do I solve this?

    Plugin Support Harshad

    (@bornforphp)

    @slysoft

    Can you please enable debugging mode, Please add following lines to wp-config.php just before where it says: /* That’s all, stop editing! Happy publishing. */

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    define( ‘WP_DEBUG_LOG’, true );

    Then try to reload the page

    A debug.log file should be created inside wp-content folder,which should contain error information in it, Please share the file with us.

    Thanks,
    Harshad

    Thread Starter LRA21

    (@slysoft)

    No debug.log file in wp-content folder after insert, save wp-config.php file and refresh pages in website.

    Plugin Support Harshad

    (@bornforphp)

    @slysoft Can you please try to create a new page, then publish the page and then try to reload the page on front end and check if the debug.log file gets created?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Purge cache for editors’ is closed to new replies.