Jump to content

Stripe Payment Module Error Cannot get ProductLazyArray from ID: Argument 1


Stephenray

Recommended Posts

I am getting errors on the Prestashop error logs of the following:

Some stripe payments are still being processed.

I can't see any corresponding activity on the Stripe developer logs and no customer shopping carts logged around the same time.

 

Is anyone else getting similar errors?

Prestashop V8.1.6

PHP version 8.1

Stripe Module version 3.6.8

 

stripe_official - mLpeIec1PCac0fNsoff - /classes/services/StripeDisplayHeaderService.php:61 - Cannot get ProductLazyArray from ID: Argument 1 passed to StripeOfficial\Classes\factories\StripeProductLazyArrayFactory::createProductLazyArrayFromProductId() must be of the type integer, null given, called in /home/automate/public_html/modules/stripe_official/classes/services/StripeDisplayHeaderService.php on line 59 - #0 /home/automate/public_html/modules/stripe_official/classes/services/StripeDisplayHeaderService.php(59): StripeOfficial\Classes\factories\StripeProductLazyArrayFactory::createProductLazyArrayFromProductId(NULL, Object(Context)) #1 /home/automate/public_html/modules/stripe_official/stripe_official.php(1235): StripeOfficial\Classes\services\StripeDisplayHeaderService->setHeaders() #2 /home/automate/public_html/classes/Hook.php(1043): Stripe_official->hookDisplayHeader(Array) #3 /home/automate/public_html/classes/Hook.php(418): HookCore::coreCallHook(Object(Stripe_official), 'hookDisplayHead...', Array) #4 /home/automate/public_html/classes/Hook.php(981): HookCore::callHookOn(Object(Stripe_official), 'displayHeader', Array) #5 /home/automate/public_html/classes/controller/FrontController.php(622): HookCore::exec('displayHeader') #6 /home/automate/public_html/controllers/front/ProductController.php(465): FrontControllerCore->initContent() #7 /home/automate/public_html/classes/controller/Controller.php(319): ProductControllerCore->initContent() #8 /home/automate/public_html/classes/Dispatcher.php(510): ControllerCore->run() #9 /home/automate/public_html/index.php(28): DispatcherCore->dispatch() #10 {main}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...