Magento 2 – Fix Error ‘Cannot Read Contents from File’ When Changing Themes

magento2theme

Error:

Cannot read contents from file "C:/wamp64/www/magento2/" Warning!file_get_contents(C:/wamp64/www/magento2/): failed to open stream: No such file or directory

enter image description here

Best Answer

I have found a workaround for this issue. Please copy the folder

\vendor\magento\module-email\view\frontend\email

to

\vendor\magento\module-email\view\adminhtml\email\.
Related Topic