1

I have a Magento 2.0 store that I am trying to update the categories and products on. When I run it through the gui I get the following error message:

exception 'Magento\Framework\Exception\LocalizedException' with message 'Class Magento\Catalog\Model\Indexer\Category\Flat\Action\FullFactory does not exist' in vendor/magento/framework/Code/Generator.php:103
Stack trace:
#0 vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\Catalog...') #1 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\Catalog...')
#2 [internal function]: spl_autoload_call('Magento\Catalog...')
#3 vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Magento\Catalog...')
#4 vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\Catalog...')
#5

Any ideas? I'm a bit stumped and would appreciate any help.

1
  • remove var/generation and try again Commented May 7, 2017 at 8:16

2 Answers 2

2

Try to empty the folowing directory's:

/www/var/di

and

/www/var/generation
1

I think you try: composer install.

cd rootFolderMagento
sudo composer install

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.