Hello,
I’ve installed with the Plesk’s extension the last version of NextCloud (20.0.1) but now I receive these errors when I try to enter in the System tab
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
These are the errors reported in the logs:
Exception:
Return value of OCA\ServerInfo\PhpStatistics::getOPcacheStatus() must be of the type array, null returned
Caused by:
Return value of OCA\ServerInfo\PhpStatistics::getOPcacheStatus() must be of the type array, null returned
Error: opcache_get_status() has been disabled for security reasons at /var/www/vhosts/mydomain/nextcloud/apps/serverinfo/lib/PhpStatistics.php#83
found the issue with the security issue
inside plesk under the PHP settings of your domain,
you need to CLEAR IT/EMPTY the disable_functions text box and save
If opcache.restrict_api is in use and the current path is in violation of the rule, an E_WARNING will be raised; no status information will be returned.
I think that’s the reason why the check of “opcache_get_status(false) === false” isn’t working.