Can someone help to fix this?
Module 'Magento_Integration': [ERROR] ReflectionException: Class Magento\Integration\Model\Config\Reader does not exist in /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/Code/Reader/ClassReader.php:36 Stack trace: #0 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/Code/Reader/ClassReader.php(36): ReflectionParameter->getClass() #1 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Definition/Runtime.php(54): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Integra...') #2 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(48): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\\Integra...') #3 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Integra...') #4 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(167): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Integra...') #5 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Integra...', NULL, 'integrationConf...', 'Magento\\Integra...') #6 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Integra...', Array, Array) #7 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Integra...', Array, Array) #8 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Integra...', Array, Array) #9 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Integra...') #10 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(167): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Integra...') #11 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Integra...', NULL, 'integrationMana...', 'Magento\\Integra...') #12 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Integra...', Array, Array) #13 /home/movieleak/domains/movieleaked.com/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolve
Solved! Go to Solution.
Here you go:
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
Hi @kai_dh
There might be some permission issue.
https://devdocs.magento.com/guides/v2.3/config-guide/prod/prod_file-sys-perms.html
Try the following command once:
find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento
You can use sudo as well.
If still face issue, then try following command s once to re generations.
composer update
chmod -R 0777 var/ pub/ generated/ rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
I hope it will help you!
Hi, thanks for you reply.
It's installed on a webhosting. Any other way to fix this?
Hi @kai_dh
It is required to run the commands for magento setup.
Clear all directories and files under Magento's var
subdirectory and install the Magento software again.
As the Magento file system owner or as a user with root
privileges, enter the following commands:
$ cd <your Magento install directory>/var
$ rm -rf var/cache/* di/* generation/* page_cache/*
If you use Redis and still get an error, clear the Redis cache as follows:
$ redis-cli FLUSHALL
Alright, what is the recommended operation system?
e.g. CentOS
Here you go:
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html