Skip to content

Can't send order emails #1

Description

@andrew6x6

[2020-09-03 13:52:58] report.CRITICAL: Recoverable Error: Object of class Magento\Sales\Model\Order\Interceptor could not be converted to string in vendor/magento/framework/Escaper.php on line 78 {"exception":"[object] (Exception(code: 0): Recoverable Error: Object of class Magento\Sales\Model\Order\Interceptor could not be converted to string in /var/www/vendor/magento/framework/Escaper.php on

error thrown in the TransportBuilderPlugin when using the filters, specifically encountering {{var order}} variable here:
$params['params'][$label] = $filer->filter($v['value']);

Another issue is that the default order email template must be selected otherwise the order email is skipped. this stops us from modifying the template to remove the order variable causing the error.

Mapp\Connect\Helper\Data::templateIdToConfig will return 0 and the plugin will be skipped.

Magento version: 2.3.5-p1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions