PayPalPlus generates php warnings in server debug log related to php_uname()
-
We are seeing the following php warnings in our server debug log:
[08-Sep-2021 14:16:40 UTC] PHP Warning: php_uname() has been disabled for security reasons in /home/wp/disk/wordpress/wp-content/plugins/woo-paypalplus/lib/PayPal/Common/PayPalUserAgent.php on line 27
[08-Sep-2021 14:16:40 UTC] PHP Warning: php_uname() has been disabled for security reasons in /home/wp/disk/wordpress/wp-content/plugins/woo-paypalplus/lib/PayPal/Common/PayPalUserAgent.php on line 28So our hoster is blocking the php_uname() method.Could you maybe consider changing your code, so it doesn’t trigger server security actions?
Also there seems to be an issue, which might be related to above php warnings:
paypal express button isnt working properly: the window closes right away and payments via normal paypal are being cancelled.:/
Any help is appreciated.
- The topic ‘PayPalPlus generates php warnings in server debug log related to php_uname()’ is closed to new replies.