2

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 \Vertex\Mapper generation does not exist.

No errors in logs , any idea please? enter image description here

Exception trace:

() at /home/website/public_html/vendor/magento/framework/Code/Generator.php:185 Magento\Framework\Code\Generator->tryToLoadSourceClass() at /home/website/public_ html/vendor/magento/framework/Code/Generator.php:112 Magento\Framework\Code\Generator->generateClass() at /home/website/public_html/ve ndor/magento/framework/Code/Generator.php:180 Magento\Framework\Code\Generator->tryToLoadSourceClass() at /home/website/public_ html/vendor/magento/framework/Code/Generator.php:112 Magento\Framework\Code\Generator->generateClass() at /home/website/public_html/ve ndor/magento/framework/Code/Generator/Autoloader.php:35 Magento\Framework\Code\Generator\Autoloader->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

  • Remove Var/Generation folder – Aditya Shah Oct 9 '18 at 19:27
  • And compile again – Aditya Shah Oct 9 '18 at 19:27
  • @AdityaShah doesn't work – Mer Gh Oct 9 '18 at 19:33
  • Are you using vanilla Magento 2.2.4? – Aditya Shah Oct 9 '18 at 19:44
  • 1
    Yeah just checked git, reply them on git about confirming the issue. – Aditya Shah Oct 9 '18 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.