PHP 8 coding issues
-
I’m testing PHP 8.0 on some of my sites for debugging purposes. With PHP 8.0, the QPP plugin is throwing off a lot of “PHP Warning” errors — these are non-fatal errors so they wouldn’t impair function, but should be cleaned up. Here are the errors I saw:
[25-Apr-2021 06:38:31 UTC] PHP Warning: Array to string conversion in /wp-content/plugins/quick-paypal-payments-premium/legacy/quick-paypal-payments.php on line 1129 [25-Apr-2021 06:38:31 UTC] PHP Warning: Undefined array key "firstname" in /wp-content/plugins/quick-paypal-payments-premium/legacy/quick-paypal-payments.php on line 1385 [25-Apr-2021 06:38:31 UTC] PHP Warning: Undefined array key "firstname" in /wp-content/plugins/quick-paypal-payments-premium/legacy/quick-paypal-payments.php on line 1386 [25-Apr-2021 06:38:31 UTC] PHP Warning: Undefined array key "lastname" in /wp-content/plugins/quick-paypal-payments-premium/legacy/quick-paypal-payments.php on line 1385 [25-Apr-2021 06:38:31 UTC] PHP Warning: Undefined array key "lastname" in /wp-content/plugins/quick-paypal-payments-premium/legacy/quick-paypal-payments.php on line 1386 [25-Apr-2021 06:38:31 UTC] PHP Warning: Undefined array key "email" in /wp-content/plugins/quick-paypal-payments-premium/legacy/quick-paypal-payments.php on line 1385 [25-Apr-2021 06:38:31 UTC] PHP Warning: Undefined array key "email" in /wp-content/plugins/quick-paypal-payments-premium/legacy/quick-paypal-payments.php on line 1386 [25-Apr-2021 06:38:31 UTC] PHP Warning: Undefined array key "night_phone_b" in /wp-content/plugins/quick-paypal-payments-premium/legacy/quick-paypal-payments.php on line 1386
(I have reverted my site back to PHP 7.4 because of incompatibility with a different, unrelated plugin — so no urgency on the above fixes — just thought I would let you know)
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP 8 coding issues’ is closed to new replies.