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 Fatal error: Call to undefined function kpr() in /sites/all/modules/contrib/google_adwords/modules/google_adwords_signup/google_adwords_signup.module on line 61
A call to the devel module kpr() function.
Comment | File | Size | Author |
---|---|---|---|
#3 | KPR_function_.module-2287917-8909271.patch | 591 bytes | Richard Buchanan |
Comments
Comment #1
Perignon CreditAttribution: Perignon commentedThe beta is superseded. This has already been fixed. Switch your branch of the code to 7.x-2.x to give more testing of the code so we can produce a release.
Comment #2
Richard Buchanan CreditAttribution: Richard Buchanan commentedPulled the 7.x-2.x branch, and there is no fix for this. It breaks the login page, causing a WSOD. I commented out line 61 in google_adwords_signup.module to get past it for the time being.
BTW, what is the purpose of a kprint_r being ran by default on a form intended for users who do not have devel module permissions? Removal of line 61 seems to be the only reasonable thing to do. Attaching a patch since the fix was not found on the branch you mentioned.
Comment #3
Richard Buchanan CreditAttribution: Richard Buchanan commentedPatch file from previous reply.
Comment #4
Richard Buchanan CreditAttribution: Richard Buchanan commentedComment #5
Perignon CreditAttribution: Perignon commentedThanks. Yeah that should not be in the. It was being used during development I am sure. I did not write this portion of the code. I will get the patch incorporated in the next day or two - as quickly as I can.
Comment #6
Perignon CreditAttribution: Perignon commentedCommitted. Thanks for the help!