Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Magento2 中创建了一个简单的自定义模块。我在 app/etc/config.php 中启用了我的模块,在我的项目根文件夹中执行了命令 bin/magento setup:upgrade 并清除了所有缓存目录。
但页面刷新后,我得到以下错误页面:
在两个文件中检查您的模块版本:
应用程序/代码/Eglobe/HelloWorld/etc/module.xml
应用程序/代码/Eglobe/HelloWorld/composer.json
并确保它们相同