Showing results for 
Search instead for 
Did you mean: 

redis and magento 2

redis and magento 2


I have configured Redis and Magento. I am getting this error

Source class "\Magento\Payment\Model\Method\Virtual" for "Magento\Payment\Model\Method\VirtualLogger" generation does not exist. This only happens when I try to use Redis. But when I switch back to the original env.php file without Redis the error is not there. How do I fix this error?


Re: redis and magento 2

The error doesn't seem to point to a Redis issue. 


Based on the Github issue below it may be caused by an extension (for example modules by WeltPixel are confirmed to be causing this behavior):-

James Lee | Moderator • Magento Master
See My Recommended Magento Hosting & Security Tips