• Hi, 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?

Viewing 1 replies (of 1 total)
  • Hector

    (@hectorsharethis)

    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

Viewing 1 replies (of 1 total)

The topic ‘OPcache + Simple Share Buttons Adder’ is closed to new replies.