i tried updating to the 1.14 update, but after doing that when i go to check out i get this error:

Fatal error: Wrong parameters for Exception([string $exception [, long $code ]]) in /home/auravent/public_html/sites/all/modules/payment/payment.classes.inc on line 1226

Advise?

Comments

Xano’s picture

Version: 7.x-1.14 » 7.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Can you add print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)); in PaymentException::__construct() as the first line of the function, and the share the output with us? We need this information to find out which code uses this class incorrectly so we can fix the root cause of the problem.

thechraveler’s picture

Hi thanks for your reply. Where do I add this code in the function? Where is the function file? Thanks again.

Xano’s picture

You add it on a new line directly after function __construct().

Xano’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing due to a lack of response.

Feel free to re-open this issue with the output that was requested in #1.