• amesserer

    (@amesserer)


    when using Fr Custom Payment Gateway Icon for WooCommerce in combination with WooCommerce Subscription plugin and WooCommerce coupon functionality following fatal error is shown on coupon admin page:

    Fatal error: Uncaught Error: Call to undefined method stdClass::get() in /homepages/8/d350113630/htdocs/WP_TEST_RECHT247_MAR2020/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-cart-renewal.php:740 Stack trace: #0 /homepages/8/d350113630/htdocs/WP_TEST_RECHT247_MAR2020/wp-includes/class-wp-hook.php(290): WCS_Cart_Renewal->renewal_coupon_data(false, 6902) #1 /homepages/8/d350113630/htdocs/WP_TEST_RECHT247_MAR2020/wp-includes/plugin.php(206): WP_Hook->apply_filters(false, Array) #2 /homepages/8/d350113630/htdocs/WP_TEST_RECHT247_MAR2020/wp-content/plugins/woocommerce/includes/class-wc-coupon.php(94): apply_filters(‘woocommerce_get…’, false, 6902, Object(WC_Coupon)) #3 /homepages/8/d350113630/htdocs/WP_TEST_RECHT247_MAR2020/wp-content/plugins/woocommerce/includes/admin/list-tables/class-wc-admin-list-table-coupons.php(102): WC_Coupon->__construct(6902) #4 /homepages/8/d350113630/htdocs/WP_TEST_RECHT247_MAR2020/wp-content/plugins/woocommerce/includes/admin/list-tables/abstract-class-wc-admin-list-table.php(2 in /homepages/8/d350113630/htdocs/WP_TEST_RECHT247_MAR2020/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-cart-renewal.php on line 740

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

Viewing 1 replies (of 1 total)
  • Plugin Author fahrirusliyadi

    (@fahrirusliyadi)

    I have tested it, but I can’t see any problem on the admin coupons page, admin add coupon page and edit coupon page. Perhaps I’m missing a step here. Please provide step by step to reproduce the issue. Also, please make sure you are using the latest version of WordPress, plugins and theme. Please only activate WooCommerce, Fr Custom Payment Gateway Icon for WooCommerce and WooCommerce Subscriptions plugins. And please use the default WordPress theme, such as Twenty Twenty.

Viewing 1 replies (of 1 total)
  • The topic ‘plugin causes fatal error with coupon in combination with WooCo Subscription’ is closed to new replies.