Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DI compilation error {module}\Model\UploaderPool does not exist #41

Open
maderlock opened this issue Sep 29, 2017 · 2 comments
Open

DI compilation error {module}\Model\UploaderPool does not exist #41

maderlock opened this issue Sep 29, 2017 · 2 comments
Labels

Comments

@maderlock
Copy link
Contributor

Version of UMC: 1486c84
Magento 2.1.9

This error occurs when compiling a module created with UMC with a single entity using flat tables.

I had to edit {module}/Controller/Adminhtml/Statement/Save.php and remove all references to UploaderPool as this class does not exist in this module. The function getUploader() was also removed, which seemed safe as it was not called from anywhere. After this change the module compiled correctly.

@lanrosta
Copy link

lanrosta commented Nov 1, 2017

Is there a fix for this yet? I am having the same issue and I need the ability to upload images for the particular module I am building. I am using magento ce 217 and UMC 2.0.0-beta2: 2017-07-06.

@lanrosta
Copy link

lanrosta commented Nov 2, 2017

Same gig on 2.2.1-dev. You can fix by also also adding the Model/Uploader.php and Model/UploaderPool.php file from a separate module and then rename anything inside these two files to point to your module name. I have no idea why it is looking for the uploader because for my module I didn't add any fields which required it. This is a bug. Please fix devs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants