Hello, we're getting the following warnings in our error logs from the plugin:
[17-Oct-2023 06:53:31 UTC] PHP Warning: Undefined array key "payment" in /wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php on line 95
[17-Oct-2023 06:53:31 UTC] PHP Warning: Trying to access array offset on value of type null in /wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php on line 95
[17-Oct-2023 06:53:31 UTC] PHP Warning: Trying to access array offset on value of type null in /wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php on line 95
Solution
Add simple isset() checks to resolve these warnings.
@ramshengale didn't find any warnings in the current release please share plugin version and file name like fatal errors/razorpay logs/ razorpay subscription logs
Hello, we're getting the following warnings in our error logs from the plugin:
[17-Oct-2023 06:53:31 UTC] PHP Warning: Undefined array key "payment" in /wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php on line 95 [17-Oct-2023 06:53:31 UTC] PHP Warning: Trying to access array offset on value of type null in /wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php on line 95 [17-Oct-2023 06:53:31 UTC] PHP Warning: Trying to access array offset on value of type null in /wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php on line 95
Solution
Add simple isset() checks to resolve these warnings.