I am creating custom module to process order template. In Magento 1,It is working fine with below code, $template = 'sales_email_order_template'; $emailTemplate = Mage::getModel('core/email_template') ->loadDefault($template); When i use loaddefault method in the Magento 2, it shows me an error like, Warning: Illegal offset type in isset or empty in /var/www/html/xyz/vendor/magento/module-email/Model/Template/Config.php […]