Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
PHP errors when viewing http://example.com/lm_paypal/ipn
- Strict warning: Creating default object from empty value in lm_paypal_ipn_in() (line 58 of /var/www/html/drupal-7.12/sites/all/modules/lm_paypal/lm_paypal.ipn.inc).
- Notice: Undefined index: txn_type in lm_paypal_ipn_in() (line 59 of /var/www/html/drupal-7.12/sites/all/modules/lm_paypal/lm_paypal.ipn.inc).
Comments
Comment #1
L-four CreditAttribution: L-four commentedLooks like there needs to be a check for empty requests and do some kind of redirect but your not supposed to actually navigate to that URL.
Comment #2
waverate CreditAttribution: waverate commentedI agree. However it would be nice not to have PHP errors.
Patch at #5 #1131076: PDOException: SQLSTATE[HY000]: General error: 1366 removes these errors.
Comment #3
waverate CreditAttribution: waverate commentedComment #4
L-four CreditAttribution: L-four commentedCommitted to 7.x-1.x-dev
Comment #5
waverate CreditAttribution: waverate commentedHmmm. Error is back.
Using Drupal 7.14 and 7.x-1.x-dev (2012-May-10).
dblog shows: