This topic contains 13 replies, has 2 voices, and was last updated by Andrey Yatsenko 4 years, 11 months ago.
- Topic
PHP Fatal error: Uncaught Error: Class ‘ProductsBundle\ProductsBundle’ not found in /usr/share/nginx/orocrm/app/AppKernel.php:13
CREATING A BUNDLE
> Generating a sample bundle skeleton into app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/ProductsBundle.php
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/Controller/
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/Controller/DefaultController.php
created ./app/../tests/ProductsBundle/Controller/
created ./app/../tests/ProductsBundle/Controller/DefaultControllerTest.php
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/Resources/views/Default/
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/Resources/views/Default/index.html.twig
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/Resources/config/
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/Resources/config/services.yml
created ./app/../vendor/oro/platform/src/Oro/Bundle/ProductsBundle/Resources/config/routing.yml
> Checking that the bundle is autoloaded
> Enabling the bundle inside app/AppKernel.php
updated ./app/AppKernel.php
> Importing the bundle’s routes from the app/config/routing.yml file
updated ./app/config/routing.yml
> Importing the bundle’s services.yml from the app/config/config.yml file
updated ./app/config/config.ymlEverything is OK! Now get to work :).
when i run php app/console cache:clear
root:/usr/share/nginx/orocrm# php app/console cache:clear
PHP Fatal error: Uncaught Error: Class ‘ProductsBundle\ProductsBundle’ not found in /usr/share/nginx/orocrm/app/AppKernel.php:13
Stack trace:
#0 /usr/share/nginx/orocrm/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(430): AppKernel->registerBundles()
#1 /usr/share/nginx/orocrm/vendor/oro/platform/src/Oro/Bundle/DistributionBundle/OroKernel.php(37): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#2 /usr/share/nginx/orocrm/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(130): Oro\Bundle\DistributionBundle\OroKernel->initializeBundles()
#3 /usr/share/nginx/orocrm/vendor/oro/platform/src/Oro/Bundle/DistributionBundle/OroKernel.php(228): Symfony\Component\HttpKernel\Kernel->boot()
#4 /usr/share/nginx/orocrm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(70): Oro\Bundle\DistributionBundle\OroKernel->boot()
#5 /usr/share/nginx/orocrm/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(124): Symfony\Bundle\FrameworkBundle\Console\Appl in /usr/share/nginx/orocrm/app/AppKernel.php on line 1If i run composer update command
Problem 1
– sebastian/phpcpd dev-master requires php ^7.3 -> your PHP version (7.1.28) does not satisfy that requirement.
– sebastian/phpcpd dev-master requires php ^7.3 -> your PHP version (7.1.28) does not satisfy that requirement.
– Installation request for sebastian/phpcpd dev-master#cff7f36c2ae89d59987de25d14fd41a72dd4a703 as 3.1.0 -> satisfiable by sebastian/phpcpd[dev-master].what is the exact solution for this ??
and when i enter any other commands like php app/console about and php app/console –version getting the same errors
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.