- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saturday
Saturday
Class does not exist
Hello everyone, I'm getting this error during compile.
This module (dakzilla) is in my vendor folder...
- Cache is disable
- Permissions should be ok
Any idea?
Class "dakzilla\intervention\image\helper\Helper\Image" does not exist Class Acme\Theme\Block\Catalog\Categories\Interceptor generation error: The requested class did not generate properly, because the ' generated' directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generat ed' directory permission is set to write --- the requested class did not generate properly, then you must add the generated class o bject to the signature of the related construct method, only.
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
yesterday
Re: Class does not exist
Hi.
I think autoload may have some issues.
- Remove dakzilla and reinstall
- Or you can try running
composer dump-autoload
Or the Acme\Theme\Block\Catalog\Categories class might not be correctly referenced.
- Try changing to dakzilla\intervention\image to Dakzilla\Intervention\Image or something similar, as defined in composer.json of dakzilla
"autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" } }
Mageplaza | Top-Rated Magento Extension and Solution Provider
Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com