opcache_invalidate causes a warning
-
Hi,
Thank you for your plugin.
We are using version 1.6.1 and we noticed a warning visible below the form input which wasn’t there in earlier versions of the plugin.
Warning: Zend OPcache API is restricted by “restrict_api” configuration directive in /srv/users/hafo/apps/hafo/public/wp-content/plugins/ajax-search-for-woocommerce/includes/Shortcode.php on line 62
By outcommenting line 62 in Shortcode.php the warning disappeared but we would like to know if there is anything else we can do in order to prevent this warning in future updates of the plugin. Can we ask the host to change something in the server configuration or is there a way to make sure that the plugin doesn’t produce this warning.
Thank you,
Petra
- The topic ‘opcache_invalidate causes a warning’ is closed to new replies.