Conversation
supportHi, I have a few sites on Kinsta and when server cache is enabled I get a 403 error when I want to access the plugin settings page and if I disable OPcache it works fine, how can I solve this problem?
Hi @sbabalici , If disabling OPcache fixes the admin page, that confirms OPcache is caching the plugin PHP and causing the 403. Try adding the plugin folder to OPcache’s blacklist (opcache.blacklist_filename) (wp-content/plugins/simple-share-buttons-adder/) this should exempt the plugin/admin URLs from server cache. https://www.php.net/manual/en/language.exceptions.php
Hi @sbabalici , If disabling OPcache fixes the admin page, that confirms OPcache is caching the plugin PHP and causing the 403. Try adding the plugin folder to OPcache’s blacklist (opcache.blacklist_filename) (wp-content/plugins/simple-share-buttons-adder/) this should exempt the plugin/admin URLs from server cache. https://www.php.net/manual/en/language.exceptions.php