PHP Notice when no PayPal activity
-
(What minor things you uncover when running with debug on.) I get: PHP Notice: Trying to access array offset on value of type bool in /Applications/MAMP/htdocs/wp-content/plugins/give/includes/admin/tools/views/html-admin-page-system-info.php on line 667
I’m looking at the Tools>System Info page but I’m not using PayPal so have never received any PayPal interactions. The $last_paypal_ipn_received must not be an array but is_array() is not called until AFTER trying to use it as an array. It shows the correct ‘N/A’ because is_array() fails.
I have Give 2.7.5 on WP 5.5 running PHP 7.4.2. You could certainly ignore this if you want since it’s just a notice.
- The topic ‘PHP Notice when no PayPal activity’ is closed to new replies.