wahabmirjan / wp-simple-nonce

A very simple NONCE for WordPress developers.
GNU General Public License v2.0
38 stars 11 forks source link

PHP warning #14

Open kory-northrop opened 11 months ago

kory-northrop commented 11 months ago

When I use WPSimpleNonce::createNonce on a Wordpress site, I see the following PHP warning in QueryMonitor:

is_readable(): open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/www/my_server_path/public:/www/my_server_path/mysqleditor:/www/my_server_path/web:/www/my_server_path/deploy:/www/my_server_path/deployment:/www/my_server_path/deployments:/usr/share:/tmp)

What is it that your plugin is trying to access and what can be done to fix this? I don't think that I want to change the restrictions in open_basedir because I trust that my managed web hosting company set them for specific reasons.