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

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

Remi Esordi
Participant

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:

Howdy!

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 (https://adventurefreaksss.com/) and check for any visible issues. Next, visit the page where the error was caught (https://adventurefreaksss.com/wp-admin/post.php?post=2055&action=edit) 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/adventurefreaksss.com/public_html/wp-content/plugins/wpdmpp-stripe/wpdmpp-stripe.php. Error message: Uncaught Error: Call to a member function create() on null in /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdmpp-stripe/wpdmpp-stripe.php:1137
Stack trace:
#0 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdmpp-stripe/wpdmpp-stripe.php(1210): WPDMPP\Libs\PaymentMethods\WPDM_Stripe->buyNowButton()
#1 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/class-wp-hook.php(324): WPDMPP\Libs\PaymentMethods\WPDM_Stripe->buyNow()
#2 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdm-premium-packages/templates/add-to-cart/buy-now.php(15): apply_filters()
#4 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdm-premium-packages/includes/libs/ShortCodes.php(122): include(‘/home/u87575358…’)
#5 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdm-premium-packages/includes/libs/cart-functions.php(1279): WPDMPP\Libs\ShortCodes->buyNowHTML()
#6 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdm-premium-packages/wpdm-premium-packages.php(1392): wpdmpp_add_to_cart_html()
#7 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/class-wp-hook.php(326): WPDMPP\WPDMPremiumPackage->fetchTemplateTag()
#8 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#9 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/download-manager/src/Package/PackageController.php(397): apply_filters()
#10 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/download-manager/src/Package/PackageController.php(1818): WPDM\Package\PackageController->prepare()
#11 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/download-manager/src/Package/Shortcodes.php(68): WPDM\Package\PackageController->fetchTemplate()
#12 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/shortcodes.php(433): WPDM\Package\Shortcodes->singlePackage()
#13 [internal function]: do_shortcode_tag()
#14 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#15 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/class-wp-hook.php(324): do_shortcode()
#16 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#17 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1865): apply_filters()
#18 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#19 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item()
#20 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#21 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api.php(555): WP_REST_Server->dispatch()
#22 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api.php(2922): rest_do_request()
#23 [internal function]: rest_preload_api_request()
#24 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/block-editor.php(753): array_reduce()
#25 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#26 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-admin/post.php(187): require(‘/home/u87575358…’)
#27 {main}
thrown

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

#195920

Tahasin
Moderator

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.

Regards

#195940

Tahasin
Moderator

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.

Regards

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

You must be logged in to reply to this topic.