php - Magento 2 offline payment module template issue
Get the solution ↓↓↓I have a Magento 2.2.4 store that stopped to send transactional mails caused by this error
Invalid template file: 'Magento_OfflinePayments::info/pdf/purchaseorder.phtml'
in module: 'Magento_OfflinePayments' block's name: 'info\purchaseorder_ 0'
My PHP version is 7.1 I copied the moduke module-offline-payments from a local fresh installation and i this doesn't solve the problem
in module-offline-payments/view/adminhtml/templates/info/pdf/purchaseorder.pht
ml
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* @var $block \Magento\OfflinePayments\Block\Info\Purchaseorder
*/
?>
<?= $block->escapeHtml(__('Purchase Order Number: %1', $block->getInfo()->getPoNumber())) ?>
{{pdf_row_separator}}
Any idea?
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: apache/2.4.52 (win64) openssl/1.1.1m php/8.1.2 server at localhost port 80
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.