Invalid template file: ‘Vendor_Module::info/default.phtml’

Sandip
Apr 21, 2024

--

Invalid template file: ‘Vendor_Module::info/default.phtml’

in module: ‘Vendor_Module’ block’s name: ‘info_0’

If you are facing this issue then the issue is with your payment method.

You need to check what payment has been set for a particular order or invoice.

In my case I was also facing the same error and after scratching my mind for 2 hours. I found an issue which can help you to resolve the issue.

For a solution you need to go to the table sales_order_payment and check the method column for a particular order.

If you see, the method for the second column is ‘custompayment’ and it’s not even exist. Then you have an issue with it. Change this to ‘cashondelivery’ or any other payment method and it will work.

Happy Coding…

--

--