My page is showing critical error because of Stripe add on.

Viewing 3 posts - 1 through 3 (of 3 total)

Remi Esordi

Hello there, This is my subscription-based website where I offer pdf’s to be downloaded. Monthly users can download 3 reports per month, then after 3 downloads if anyone intends to download more reports (PDF), they will have to pay an additional 14.99$. Previously it worked. I had posts where the download button was there as well as another package of pdf that could be added to the cart. Right now when I am adding the shortcode of that 14.99$ package on any post on my WordPress. The page shows a critical error message.

I got an email from WordPress saying Stripe is creating the issue. Here is the mail:


WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, WPDM – Stripe.

First, visit your website ( and check for any visible issues. Next, visit the page where the error was caught ( and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

Log In

To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.5.3
Active theme: Astra (version 4.6.14)
Current plugin: WPDM – Stripe (version 1.6.5)
PHP version 8.1.27

Error Details
An error of type E_ERROR was caused in line 1137 of the file /home/u875753586/domains/ Error message: Uncaught Error: Call to a member function create() on null in /home/u875753586/domains/
Stack trace:
#0 /home/u875753586/domains/ WPDMPP\Libs\PaymentMethods\WPDM_Stripe->buyNowButton()
#1 /home/u875753586/domains/ WPDMPP\Libs\PaymentMethods\WPDM_Stripe->buyNow()
#2 /home/u875753586/domains/ WP_Hook->apply_filters()
#3 /home/u875753586/domains/ apply_filters()
#4 /home/u875753586/domains/ include(‘/home/u87575358…’)
#5 /home/u875753586/domains/ WPDMPP\Libs\ShortCodes->buyNowHTML()
#6 /home/u875753586/domains/ wpdmpp_add_to_cart_html()
#7 /home/u875753586/domains/ WPDMPP\WPDMPremiumPackage->fetchTemplateTag()
#8 /home/u875753586/domains/ WP_Hook->apply_filters()
#9 /home/u875753586/domains/ apply_filters()
#10 /home/u875753586/domains/ WPDM\Package\PackageController->prepare()
#11 /home/u875753586/domains/ WPDM\Package\PackageController->fetchTemplate()
#12 /home/u875753586/domains/ WPDM\Package\Shortcodes->singlePackage()
#13 [internal function]: do_shortcode_tag()
#14 /home/u875753586/domains/ preg_replace_callback()
#15 /home/u875753586/domains/ do_shortcode()
#16 /home/u875753586/domains/ WP_Hook->apply_filters()
#17 /home/u875753586/domains/ apply_filters()
#18 /home/u875753586/domains/ WP_REST_Posts_Controller->prepare_item_for_response()
#19 /home/u875753586/domains/ WP_REST_Posts_Controller->get_item()
#20 /home/u875753586/domains/ WP_REST_Server->respond_to_request()
#21 /home/u875753586/domains/ WP_REST_Server->dispatch()
#22 /home/u875753586/domains/ rest_do_request()
#23 [internal function]: rest_preload_api_request()
#24 /home/u875753586/domains/ array_reduce()
#25 /home/u875753586/domains/ block_editor_rest_api_preload()
#26 /home/u875753586/domains/ require(‘/home/u87575358…’)
#27 {main}

Kindly check on this. And let me know. Thanks.



Hello, Remi

I hope this message finds you well and thanks for contacting us.

We are checking the issue, and you will be updated shortly.




The issue occurred due to a conflict between WPDM Stripe and the Checkout Plugins – Stripe for WooCommerce. Upon deactivating the Checkout Plugins – Stripe for WooCommerce, the page is working fine. Kindly check.


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.