我使用Shopware 6.5.2.1。安装Dockware。安装我的插件后,我有以下错误
没有扩展可以加载“web_profiler”的配置(在“/var/www/html/vendor/shopware/core/Profiling/Resources/config/packages/dev/web_profiler.yaml”中)。查找名称空间“web_profiler”,在/var/www/html/vendor/shopware/core/Profiling/Resources/config/packages/dev/web_profiler.yaml(加载在资源“/var/www/html/vendor/shopware/core/Profiling/Resources/config/packages/dev/web_profiler.yaml”中找到了“framework”、“twig”、“monolog”、“debug”、“shopware”、“shopticsearch”、“storefront”(加载在资源“/var/www/html/vendor/shopware/core/Profiling/Profiling/Resources/config/packages/dev/web_profiler.yaml”)中找到了“framework”、“twig”、“twig”、“monolog”、“debug”、“shopware”、“shopware”、“elasticsearch”、“storefront”“。
error screenshot
我不能做任何事情(去管理,插件:刷新,清除:缓存等)
这是我的composer.json require-dev片段
"require-dev": {
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
"bamarni/composer-bin-plugin": "~1.8.2",
"brianium/paratest": "^6.6",
"dg/bypass-finals": "^1.3",
"jdorn/sql-formatter": "~1.2.17",
"johnkary/phpunit-speedtrap": "~4.0.0",
"league/construct-finder": "^1.1",
"nikic/php-parser": "~4.15.0",
"opis/json-schema": "~2.3.0",
"phpbench/phpbench": "^1.2",
"phpdocumentor/reflection-docblock": "~5.3.0",
"phpdocumentor/type-resolver": "~1.7.1",
"phpstan/extension-installer": "^1.3.0",
"phpstan/phpstan": "1.10.15",
"phpstan/phpstan-deprecation-rules": "1.1.3",
"phpstan/phpstan-doctrine": "1.3.40",
"phpstan/phpstan-phpunit": "1.3.11",
"phpstan/phpstan-symfony": "1.3.2",
"phpunit/phpunit": "~9.6",
"shopware/dev-tools": "^1.0.1",
"smalot/pdfparser": "~2.2.2",
"symfony/browser-kit": "~6.3.0",
"symfony/css-selector": "~6.3.0",
"symfony/dom-crawler": "~6.3.0",
"symfony/expression-language": "~6.3.0",
"symfony/phpunit-bridge": "~6.1.0",
"symfony/var-dumper": "~6.3.0",
"symfony/profiler-pack": "^1.0",
"symplify/phpstan-rules": "12.0.2",
"tomasvotruba/type-coverage": "^0.1.3",
"symfony/dependency-injection": "~6.3.0",
"symfony/stopwatch": "~6.3.0",
"symfony/web-profiler-bundle": "~6.3.0"
}
看来我安装了网络分析器。我不使用网络分析器在我的插件。
编辑:这是由require-dev中的"shopware/dev-tools": "^1.0.1",
引起的。
1条答案
按热度按时间7cjasjjr1#
检查
WebProfilerBundle
是否已在config/bundles.php
中注册