Getting this error while preview newly created sales email template. Admin panel => Marketing => Email Templates - magento 2.1.1

Error filtering template: Warning: Missing argument 1 for Magento\Framework\View\Element\Template::setTemplate() in vendor/magento/framework/View/Element/Template.php on line 187

1 Answer 1



<!--@vars {
"var formattedBillingAddress|raw":"Billing Address",
"var order.getEmailCustomerNote()":"Email Order Note",
"var order.increment_id":"Order Id",
"layout handle=\"sales_email_order_items\" order=$order area=\"frontend\"":"Order Items Grid",
"var payment_html|raw":"Payment Details",
"var formattedShippingAddress|raw":"Shipping Address",
"var order.getShippingDescription()":"Shipping Description"
"var shipping_msg":"Shipping message"
} @-->

There is a trailing comma missing after "Shipping Description"

This issue also exists in the order_new_guest.html

more info

  • Thank you Prashant for replying, but issue was with xml files, i've overrided Magento_Sales but didn't copy all xml files in that once copy all xml file everything works fine, above correction i made before..
    – Yogesh
    Commented Feb 22, 2017 at 13:15
  • Okay, may be this will helpful to others. Commented Feb 22, 2017 at 13:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.