如何解决 Akeneo 3.0.15 中的 PHP 致命错误?
How do I resolve this PHP Fatal Error in Akeneo 3.0.15?
我正在尝试为 Akeneo 3.0.15 安装 Woocommerce Bundle,但收到以下错误:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Webkul\WooCommerceBundle\WooCommerceBundle' not found in /var/www/akeneo/pim-community-standard/app/AppKernel.php:24\nStack trace:\n#0 /var/www/akeneo/pim-community-standard/app/AppKernel.php(34): AppKernel->registerProjectBundles()\n#1 /var/www/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(488): AppKernel->registerBundles()\n#2 /var/www/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(132): Symfony\Component\HttpKernel\Kernel->initializeBundles()\n#3 /var/www/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(195): Symfony\Component\HttpKernel\Kernel->boot()\n#4 /var/www/akeneo/pim-community-standard/web/app.php(30): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))\n#5 {main}\n thrown in /var/www/akeneo/pim-community-standard/app/AppKernel.php on line 24\n'
我的 AppKernel.php 文件具有以下功能和第 24 行对 Woocommerce Bundle 的调用:
{
return [
// your app bundles should be registered here
new Webkul\WooCommerceBundle\WooCommerceBundle(),
new Visionit\EnhancedImportBundle\VisionitEnhancedImportBundle()
];
}
我做错了什么?
开发者解决了所提供文件的问题。
我正在尝试为 Akeneo 3.0.15 安装 Woocommerce Bundle,但收到以下错误:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Webkul\WooCommerceBundle\WooCommerceBundle' not found in /var/www/akeneo/pim-community-standard/app/AppKernel.php:24\nStack trace:\n#0 /var/www/akeneo/pim-community-standard/app/AppKernel.php(34): AppKernel->registerProjectBundles()\n#1 /var/www/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(488): AppKernel->registerBundles()\n#2 /var/www/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(132): Symfony\Component\HttpKernel\Kernel->initializeBundles()\n#3 /var/www/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(195): Symfony\Component\HttpKernel\Kernel->boot()\n#4 /var/www/akeneo/pim-community-standard/web/app.php(30): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))\n#5 {main}\n thrown in /var/www/akeneo/pim-community-standard/app/AppKernel.php on line 24\n'
我的 AppKernel.php 文件具有以下功能和第 24 行对 Woocommerce Bundle 的调用:
{
return [
// your app bundles should be registered here
new Webkul\WooCommerceBundle\WooCommerceBundle(),
new Visionit\EnhancedImportBundle\VisionitEnhancedImportBundle()
];
}
我做错了什么?
开发者解决了所提供文件的问题。