• Resolved jimmathis

    (@jimmathis)


    (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.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ben Meredith

    (@benmeredithgmailcom)

    hey @jimmathis

    Thanks so much for this report. I was just able to replicate this on a test install (like your MAMP one there!) and I’ll definitely report this to our team to resolve.

    You’re right that it’s a minor notice, but it sure is ugly with xdebug on. We like to keep things cleaner than that!

    Have a great day!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice when no PayPal activity’ is closed to new replies.