• Resolved morvy

    (@morvy)


    Since 3.3.1 I have a red bar with this php error (displays on several pages, as it is blocked by hosting provider for security reasons):

    Zend OPcache API is restricted by “restrict_api” configuration directive

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report! I’ll do some research into this.

    I noticed the same thing, it’s actually why I’m here.

    These are the locations the warning gives, if it helps:

    1. shutdown_action_hook()
    wp-content/plugins/query-monitor/collectors/cache.php:94

    2. do_action(‘shutdown’)
    wp-includes/load.php:788

    3. opcache_get_status()
    wp-content/plugins/query-monitor/collectors/cache.php:94

    4. wp-content/plugins/query-monitor/collectors/cache.php:94

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks folks. I’ve got a fix for this in place (you can try the develop branch on GitHub if you’re interested) and I’ll push out a release within the next few days.

    Thread Starter morvy

    (@morvy)

    I can confirm that this fixed the issue, thanks !

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    This has been fixed in 3.3.2.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Zend OPcache API is restricted by “restrict_api”’ is closed to new replies.