Matomo 4.3.0 spams Opcache error message

Sometimes, some pages I open on the Matomo dashboard have 11 warning banners at the top with the following message:

WARNING: /var/www/vhosts/ Warning - opcache_get_status() has been disabled for security reasons - Matomo 4.3.0 - Please report this message in the Matomo forums: (please do a search first as it might have been reported already) (Module: Installation, Action: systemCheckPage, In CLI mode: false)

The line numbers between OpcacheCheck.php(xx) include 51, 52, 53, 54, 58, 59, 60, 61, 62 and 63

Unfortunately, I can’t reproduce the error every time or recognize a pattern.


This error message doesn’t come from Matomo, but instead from my plugin (DiagnosticsExtended).

I use opcache_get_status() to check the status of your OPcache setup in the system check.
But apparently in your setup even calling that function is disallowed and causes the warning.

I just released 0.1.5 of that plugin which should avoid this warning.