PHP Warning in WooCommerce Pay for Payment Plugin
-
Hello,
we’ve encountered a PHP warning in the latest version of the WooCommerce Pay for Payment plugin. The error appears in our debug log as follows:
[02-Sep-2025 05:13:02 UTC] PHP Warning: Trying to access array offset on value of type null in /home/html/sitename/public_html/wp-content/plugins/woocommerce-pay-for-payment/inc/class-pay4pay.php on line 121[02-Sep-2025 05:13:02 UTC] PHP Warning: Trying to access array offset on value of type null in /home/html/sitename/public_html/wp-content/plugins/woocommerce-pay-for-payment/inc/class-pay4pay.php on line 122It seems that the variable being accessed on those lines can sometimes be
null, which triggers the warning.
Could you please review and fix this in the next release?Thank you for your support.
Best regards,
Maroš
The topic ‘PHP Warning in WooCommerce Pay for Payment Plugin’ is closed to new replies.