Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
XanoCan you add
print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS));
inPaymentException::__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.Comment #2
thechraveler CreditAttribution: thechraveler commentedHi thanks for your reply. Where do I add this code in the function? Where is the function file? Thanks again.
Comment #3
XanoYou add it on a new line directly after
function __construct()
.Comment #4
XanoClosing due to a lack of response.
Feel free to re-open this issue with the output that was requested in #1.