dokan subscription.php error line 394
Viewing 3 Posts - 1 through 3 (of 3 total)
Author | Posts |
---|---|
March 26, 2015 at 12:19 pm 40040 | |
Nayem | Dokan subscription error This is the error showing when I'm pressing update in subscription page "Fatal error: Call to a member function get_checkout_url() on a non-object in C:\wamp\www\wordpress02\wp-content\plugins\wedevs-dokan-subscription\dokan-product-subscription.php on line 394" when I check the line here is the 394 line: line 394: $checkout_url = WC()->cart->get_checkout_url(); here is the complete function code, what seems to be the problem error ` function shortcode_handler() { global $post; $checkout_url = WC()->cart->get_checkout_url(); $user_id = get_current_user_id(); $product = get_product( get_user_meta( $user_id, 'product_package_id', true ) ); $order_id = get_user_meta( $user_id, 'product_order_id', true ); $args = array( 'post_type' => 'product', 'tax_query' => array( array( 'taxonomy' => 'product_type', 'field' => 'slug', 'terms' => 'product_pack' ) ) ); $query = new WP_Query( $args ); ob_start(); ?>` |
March 26, 2015 at 9:49 pm 40070 | |
Nayem | Hello Pry de, Thank you for your information. We have released a new update of Dokan Subscription add-on. We did not get any complain from that version. So please update to the latest version of subscription. Thank you 🙂 |
March 27, 2015 at 2:20 pm 40101 | |
pry de | Hi, ok thankyou. have you also fix the bug issue in dokan plugin regarding product edit short description? |
March 27, 2015 at 8:58 pm 40116 | |
Nayem | Hello Pry de, There was a line break problem in the description field. We have already fixed that. Those fix will be available in our new update of pro version. Thank you 🙂 |
Viewing 3 Posts - 1 through 3 (of 3 total)