Meta Sales module TransactionUpdatePlugin: Object of class Taxjar\\SalesTax\\Model\\Transaction\\Order\\Interceptor could not be converted to string #51
The plugin tries to log in the object: $this->logger->debug($subject);
Only string or stringable object should be provided to the Meta\BusinessExtension\Logger\Logger::debug() which is inheritated from \Monolog\Logger::debug()
Preconditions (*)
Steps to reproduce (*)
sales_order_save_after
event in Magento)Expected result (*)
Actual result (*)
Object of class Taxjar\\SalesTax\\Model\\Transaction\\Order\\Interceptor could not be converted to string
Source of the error: app/code/Meta/Sales/Plugin/TransactionUpdatePlugin.php::62 (https://github.com/magento/meta-for-magento2/blob/main/app/code/Meta/Sales/Plugin/TransactionUpdatePlugin.php)
The plugin tries to log in the object:
$this->logger->debug($subject);
Only string or stringable object should be provided to the
Meta\BusinessExtension\Logger\Logger::debug()
which is inheritated from\Monolog\Logger::debug()