Title: php error on IPN notify
Last modified: August 31, 2016

---

# php error on IPN notify

 *  Resolved [jcarignan](https://wordpress.org/support/users/jcarignan/)
 * (@jcarignan)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-error-on-ipn-notify/)
 * Hello, I turned on php errors logging to make sure everything was clean after
   having success with your plugin. I got only one at :
    includes/class-paypal-ipn-
   for-wordpress-paypal-helper.php:442
 * second parameter of _update_generic_term_count needs to be the taxonomy object
   rather than its name so it’s an easy fix:
 * from:
 * _update_generic_term_count($term[‘term_taxonomy_id’], ‘paypal_ipn_type’);
 * to
 * _update_generic_term_count($term[‘term_taxonomy_id’], get_taxonomy(‘paypal_ipn_type’));
 * What I don’t understand is the count did work before making the change! The number
   in my database had the right amount of successful transactions (wp_term_taxonomy.
   count WHERE taxonomy = paypal_ipn_type)
 * [https://wordpress.org/plugins/paypal-ipn/](https://wordpress.org/plugins/paypal-ipn/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-error-on-ipn-notify/#post-7427068)
 * Yes, that is interesting. So when you made the change it didn’t break the count,
   right? It’s just that it seems to work either way..??
 * I’ll have our lead dev take a look to get the PHP notice eliminated in the next
   update.
 *  Thread Starter [jcarignan](https://wordpress.org/support/users/jcarignan/)
 * (@jcarignan)
 * [10 years ago](https://wordpress.org/support/topic/php-error-on-ipn-notify/#post-7427340)
 * Wow, sorry for the late response, never saw the email..! Yes indeed the count
   is still working after I made the change, thanks again for this great plugin!
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [10 years ago](https://wordpress.org/support/topic/php-error-on-ipn-notify/#post-7427341)
 * We have resolved this already in our BitBucket repo. It will be included in the
   1.1.0 release which we hope to have ready within a month.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘php error on IPN notify’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paypal-ipn_b2a7a0.svg)
 * [PayPal IPN for WordPress](https://wordpress.org/plugins/paypal-ipn/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paypal-ipn/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paypal-ipn/)
 * [Active Topics](https://wordpress.org/support/plugin/paypal-ipn/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paypal-ipn/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paypal-ipn/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [angelleye](https://wordpress.org/support/users/angelleye/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/php-error-on-ipn-notify/#post-7427341)
 * Status: resolved