@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?
@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.
@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?