• Resolved simonmcdermott813

    (@simonmcdermott813)


    When I am editing email template from woocommerce settings, I am getting this error :

    Uncaught Error: Call to a member function get_status() on null in /home/cus/public_html/mvx2/wp-content/plugins/dc-woocommerce-multi-vendor/templates/emails/vendor-new-order.php:19 Stack trace: #0 /home/cus/public_html/mvx2/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include() #1 /home/cus/public_html/mvx2/wp-content/plugins/woocommerce/includes/wc-core-functions.php(365): wc_get_template() #2 /home/cus/public_html/mvx2/wp-content/plugins/dc-woocommerce-multi-vendor/classes/emails/class-mvx-email-vendor-new-order.php(101): wc_get_template_html() #3 /home/cus/public_html/mvx2/wp-content/plugins/woocommerce/src/Internal/Admin/EmailPreview/EmailPreview.php(313): WC_Email_Vendor_New_Order->get_content_html() #4 /home/cus/public_html/mvx2/wp-content/plugins/woocommerce/src/Internal/Admin/EmailPreview/EmailPreview.php(245): Automattic\WooCommerce\Internal\Admin\EmailPreview\EmailPreview->render_preview_email() #5 /home/cus/public_html/mvx2/wp-content/plugins/woocommerce/includes/admin/class-wc-admin.php(241): Automattic\WooCommerce\Internal\Admin\EmailPreview\EmailPreview->render() #6 /home/cus/public_html/mvx2/wp-includes/class-wp-hook.php(324): WC_Admin->preview_emails() #7 /home/cus/public_html/mvx2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/cus/public_html/mvx2/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/cus/public_html/mvx2/wp-admin/admin.php(176): do_action() #10 /home/cus/public_html/mvx2/wp-admin/index.php(10): require_once(‘…’) #11 {main} thrown in /home/cus/public_html/mvx2/wp-content/plugins/dc-woocommerce-multi-vendor/templates/emails/vendor-new-order.php on line 19

Viewing 1 replies (of 1 total)
  • Plugin Support sangi00

    (@sangi00)

    Hello @simonmcdermott813 ,

    Thank you so much for taking the time to report this. We truly appreciate your effort.

    We’d like to let you know that this issue was already on our radar, and we’ve logged it on our GitHub. Our team has successfully replicated it, and we’ll be including a fix in an upcoming update. We’ll make sure to keep you informed as progress is made.

    For your convenience, you can also track the progress of the issue here: https://github.com/multivendorx/mvx/issues/958.

    In the meantime, if there’s anything else we can help you with, please don’t hesitate to let us know.

Viewing 1 replies (of 1 total)

The topic ‘Error in email field’ is closed to new replies.