Magento Asked by Mariam Ghalleb on November 15, 2021
Magento 2.2.4, php7.
I’ ve been having this error when I try to switch to production and when i try to di:compile;
Source class Vertex for VertexMapper generation does not exist.
No errors in logs , any idea please?
Exception trace:
() at
/home/website/public_html/vendor/magento/framework/Code/Generator.php:185
MagentoFrameworkCodeGenerator->tryToLoadSourceClass() at
/home/website/public_
html/vendor/magento/framework/Code/Generator.php:112
MagentoFrameworkCodeGenerator->generateClass() at
/home/website/public_html/ve
ndor/magento/framework/Code/Generator.php:180
MagentoFrameworkCodeGenerator->tryToLoadSourceClass() at
/home/website/public_
html/vendor/magento/framework/Code/Generator.php:112
MagentoFrameworkCodeGenerator->generateClass() at
/home/website/public_html/ve
ndor/magento/framework/Code/Generator/Autoloader.php:35
MagentoFrameworkCodeGeneratorAutoloader->load() at n/a:n/a
spl_autoload_call() at n/a:n/a class_exists() at
/home/website/public_html/setup/src/Magento/Setup/Module/Di/Cod
e/Scanner/PhpScanner.php:269
It's happening because of the Redis cache, run these commands to flush it and try again.
redis-cli -n 0 flushall
php -r "echo opcache_reset();"
bin/magento setup:di:compile
Answered by Rafael Corrêa Gomes on November 15, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP