我正在运行带有Ubuntu 16.04
和PHP 7.0.15
Magento 2.1.5
的Linux服务器。
当我进入后端产品时 - >添加产品并添加产品,没有网站在前端中断的任何特殊设置,并显示以下错误:
We're sorry, an error occured while generating this email.
检查magento的日志文件后,我发现了以下错误:
SYSTEM.LOG
[2017-03-29 12:05:38] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_36f1b068ec7ccf4878f9284dd1137afd1 and handles catalog_product_prices: Please correct the XML data and try again.
的debug.log
[2017-03-29 12:37:02] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://MYSHOPURL/","invalidateInfo":{"tags":["interception","CONFIG"],"mode":"matchingTag"},"is_exception":false} []
任何可能导致此问题的想法?将产品添加到网上商店软件不应该破坏它^^
如果您需要更多信息或任何其他日志,请告诉我们!我会尽快提供。
谢谢!
答案 0 :(得分:1)
从管理员添加产品后,从CLI运行以下命令。
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy