I am not sure why, but I am now getting the following errors with every transaction:

358806 22/Jul 20:54 php error Recoverable fatal error: Argument 2 passed to t() must be of the type array, integer given, called in /modules/dblog/dblog.admin.inc on line 295 and defined in

358805 22/Jul 20:54 php notice Notice: Trying to get property of non-object in commerce_moneris_hpp_callback_page() (line 493 of /sites/all/modules/commerce_moneris/commerce_moneris.module).

358804 22/Jul 20:54 php notice Notice: Trying to get property of non-object in commerce_moneris_hpp_callback_page() (line 490 of /sites/all/modules/commerce_moneris/commerce_moneris.module).

358803 22/Jul 20:54 php notice Notice: Trying to get property of non-object in commerce_moneris_hpp_callback_page() (line 488 of /sites/all/modules/commerce_moneris/commerce_moneris.module).

358802 22/Jul 20:54 commerce_moneris_hpp notice Invalid order ID: 1477-1437612855

A successful transaction on the moneris side will not post back to the site, while a cancelled one will fail at the homepage without going back to the order page. After these errors, I also cannot view the dblog on the site. I have to do a drush wd-show to view the errors.

Comments

arrow’s picture

Switching to the 2.x branch fixed this for me.

Scott Robertson’s picture

Status: Active » Fixed

Going to mark this as fixed as it looks like the 2.x version solves this issue. Feel free to open again if it's still occurring after upgrading, though.

Status: Fixed » Closed (fixed)

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