I get “Class … does not exist” after setup:di:compile, what now?

That’s a dependency-injection / generated-code problem. The usual causes are a stale generated/ directory, a bad preference or type in a di.xml, a proxy or interceptor that never compiled, or autoloader cache pointing at a deleted class. We do a clean rebuild, remove generated/, recompile, redeploy, identify the module that introduced the bad wiring, and fix the config rather than just clearing caches until it works by luck.

Kishan Savaliya
Kishan Savaliya
Adobe Certified Magento Commerce Developer
Ahmedabad [IN]working hours, replies within four hours
When do you need it

Read personally. Never shared. Or email the brief.

More on magento bug fixing

Need it fixed, not just explained?

Send the brief with your store URL; the written quote comes back within 24 hours.