critical error on the site

First of all, your plugin is great!
I have a big problem
I use the plugin of my credit company
It creates an Iframe on the site after you proceed to payment.
The problem is after click donation that I get a critical error on the site.

The error:

Fatal error: Uncaught TypeError: Argument 4 passed to WCDP_Subscriptions_For_WooCommerce::modify_template() must be of the type string, null given, called in /var/www/ on line 307 and defined in /var/www/ Stack trace: #0 /var/www/ WCDP_Subscriptions_For_WooCommerce::modify_template() #1 /var/www/ WP_Hook->apply_filters() #2 /var/www/ apply_filters() #3 /var/www/ wc_get_template() #4 /var/www/ Pelecard\Gateway->receipt_page() #5 /var/www/ WP_Hook- in /var/www/ on line 56

I would be very happy to receive help, as soon as I turn off the plugin everything works great and the payment does go to the correct page.

I would love to receive support
Thank you


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer