Error php_uname() is disabled for security reasons
-
Hello,
after having installed Rank Math I find the WP debug.log (and the server’s Error Log) full of messages like this:
PHP Warning: php_uname() has been disabled for security reasons in /home/wp/disk/wordpress/wp-content/plugins/seo-by-rank-math/vendor/rollbar/rollbar/src/Defaults.php on line 66
My hoster replied that indeed the function is disabled for security reasons and there might be an alternative to use the environment variable PHP_OS instead:
For the name of just the operating system, consider using the PHP_OS constant …
Would that maybe be an alternative for Rank Math to use?
I am probably not the only one with this problem. It has e.g. also been described in this (closed) thread about php_uname() …
The page I need help with: [log in to see the link]
- The topic ‘Error php_uname() is disabled for security reasons’ is closed to new replies.