Closed (fixed)
Project:
UC Linkpoint API
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Dec 2010 at 00:07 UTC
Updated:
10 Jan 2011 at 22:40 UTC
Jump to comment: Most recent file
I receive the following error message on the checkout/complete page.
warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/xxxxxx.com/httpdocs/sites/all/modules/ubercart/payment/uc_linkpoint_api/uc_linkpoint_api.module on line 174.
How can I fix this?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | uc_linkpoint_api-1001744.patch | 3.25 KB | bkosborne |
Comments
Comment #1
bkosborneWorking on it...
Comment #2
Rick Pelletier commentedI'm getting this, too:
end() [function.end]: Passed variable is not an array or object in [home]/sites/all/modules/uc_linkpoint_api/uc_linkpoint_api.module on line 174.
and
array_keys() [function.array-keys]: The first argument should be an array in [home]/sites/all/modules/uc_linkpoint_api/uc_linkpoint_api.module on line 174.
This message seemed to have appeared after a few orders where (A) an online customer attempted to use an invalid (or incorrect) CC number or (B) an Admin tried to manually process a transaction without a CVV number. We're still looking into it.
Comment #3
bkosborneSorry for delay guys. Jrust added that code in, and I haven't been able to get in touch with him. I've removed it in the patch ... Couldn't quite figure out why he was doing it.
Patch works fine for me. LMK if there are issues.
Comment #4
deeman001 commentedI tried applying this patch and i get the error:
Reversed (or previously applied) patch detected!
Any ideas?
Comment #5
bkosborne@deeman001. I created the patch based the latest release from CVS, which was not available to download for you. I've since made that release available as a development release. Please ignore the patch and use that instead, which has a fix in it already.
Please note that the dev snapshot won't be available to download just yet. They are automatically created from the branch in CVS twice a day. You can also get the new file manually by browsing the CVS repository here: http://drupalcode.org/viewvc/drupal/contributions/modules/uc_linkpoint_api/
Comment #6
jrust commentedThe warning was fixed in the latest CVS commit.