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.

CommentFileSizeAuthor
uc_paygate_syntax_fix.patch2.97 KBgomez_in_the_south

Comments

Max_Headroom’s picture

Status: Active » Fixed

Patched and committed!
Thanks for that. ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.