Undefined array key "transaction" (temporary workaround included)

Created on 4 January 2023, almost 2 years ago
Updated 2 March 2023, almost 2 years ago

Problem/Motivation

I am using Drupal 9.5.0, PHP 8.1.13 and trying to checkout I get a WSOD. Looking in dblog I see these errors:

First error logged:

Warning: Undefined array key "transaction" in Yabacon\Paystack\Helpers\Router->getRouteClass() (line 100 of /home/vendor/yabacon/paystack-php/src/Paystack/Helpers/Router.php)

Second error logged:

TypeError: get_class_methods(): Argument #1 ($object_or_class) must be an object or a valid class name, null given in get_class_methods() (line 67 of /home/vendor/yabacon/paystack-php/src/Paystack/Helpers/Router.php)

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡¬Nigeria chike Nigeria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024