- Views97 times
- Answers3 answers
Anytime I try to process a woocommerce subscription order my side gives me an error: “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.” Can you give me any advice how to work on this?
note: The order DOES process successfully but it is still a major issue to have this error.
here is the server error log: 2019/07/29 04:52:22 [error] 35956#35956: *1279369 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Subscription::get_duration() in /www/sweatnet20_616/public/wp-content/themes/my-listing/includes/src/paid-listings/subscriptions.php:550
#0 /www/sweatnet20_616/public/wp-includes/class-wp-hook.php(288): MyListingSrcPaid_ListingsSubscriptions->subscription_renewed(Object(WC_Subscription))
#1 /www/sweatnet20_616/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#2 /www/sweatnet20_616/public/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /www/sweatnet20_616/public/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php(1689): do_action(‘woocommerce_sub…’, Object(WC_Subscription), Object(WC_Admin_Order))
#4 /www/sweatnet20_616/public/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php(1662): WC_Subscription->payment_complete_for_order(Object(WC_Admin_Order))
#5 /www/sweatnet20_616/public/wp-content/plugins/woocomm” while reading response header from upstream, client: 188.8.131.52, server: sweatnetusa.com, request: “POST /wp-admin/post.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.3-fpm-sweatnet20.sock:”, host: “sweatnetusa.com”, referrer: “https://sweatnetusa.com/wp-admin/post.php?post=260552&action=edit”