There are a couple of syntax errors in the processing of credit card declined transactions.
If the users card is not authorised or declined, the following errors appear:
* warning: Illegal offset type in isset or empty in /public_html/includes/bootstrap.inc on line 1155.
* warning: Illegal offset type in /public_html/includes/bootstrap.inc on line 1156.
* warning: Illegal offset type in /public_html/includes/bootstrap.inc on line 1160.
* warning: syslog() expects parameter 1 to be long, string given in /public_html/modules/syslog/syslog.module on line 79.
I've attached a patch which should fix the issues. The one error is caused by the WATCHDOG_WARNING constant having quotes around it, the other is from a misplaced bracked in the t() function.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_paygate_syntax_fix.patch | 2.97 KB | gomez_in_the_south |
Comments
Comment #1
Max_Headroom commentedPatched and committed!
Thanks for that. ;)