6

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

11

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\.
5

I had to change the theme in Website scope not Global.

Source: https://github.com/magento/magento2/issues/5666#issuecomment-233236951

2

Try to clean & flush cache, remove generated files, and regenerate static content:

$ php bin/magento cache:clean
$ php bin/magento cache:flush
$ rm -rf var/cache/* var/generation/* var/page_cache/* var/view_preprocessed/*
$ php bin/magento setup:static-content:deploy

Report back if it does not fix the error.

  • I've got cannot read contents from file web.css and this solution work for me. Thanks – fudu Aug 28 '18 at 1:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.