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

FieldDataConverterFactory does not exist on production compilation #204

Open
Darkbelg opened this issue Nov 14, 2018 · 0 comments
Open

FieldDataConverterFactory does not exist on production compilation #204

Darkbelg opened this issue Nov 14, 2018 · 0 comments

Comments

@Darkbelg
Copy link

Darkbelg commented Nov 14, 2018

When i compile my shop for production i get the following error:
[ReflectionException]
Class Magento\Framework\DB\FieldDataConverterFactory does not exist

This is the output of the commando i execute: /usr/bin/php bin/magento setup:di:compile

Compilation was started.
%message% 0/7 [>---------------------------]   0% 1 sec 50.0 MiB%message% 0/7 [>---------------------------]   0% 1 sec 50.0 MiBProxies code generation... 0/7 [>---------------------------]   0% 1 sec 50.0 MiB
Proxies code generation... 1/7 [====>-----------------------]  14% 1 sec 56.0 MiB
Repositories code generation... 1/7 [====>-----------------------]  14% 1 sec 56.0 MiB
Repositories code generation... 2/7 [========>-------------------]  28% 8 secs 166.0 MiB
Service data attributes generation... 2/7 [========>-------------------]  28% 8 secs 166.0 MiB
Service data attributes generation... 3/7 [============>---------------]  42% 8 secs 166.0 MiB
Application code generator... 3/7 [============>---------------]  42% 8 secs 166.0 MiB
Application code generator... 4/7 [================>-----------]  57% 20 secs 188.0 MiB
Interceptors generation... 4/7 [================>-----------]  57% 20 secs 188.0 MiB
Interceptors generation... 5/7 [====================>-------]  71% 43 secs 234.0 MiB
Area configuration aggregation... 5/7 [====================>-------]  71% 43 secs 234.0 MiB


  [ReflectionException]
  Class Magento\Framework\DB\FieldDataConverterFactory does not exist






  [ReflectionException]
  Class Magento\Framework\DB\FieldDataConverterFactory does not exist






  [RuntimeException]
  Source class "\Magento\Framework\DB\FieldDataConverter" for "Magento\Framework\DB\FieldDataConverterFactory" generation does not exist.



setup:di:compile

This class is called in /vendor/agencednd/module-pimgento/Upgrade/Setup/UpgradeData.php:12
The module is disable but the code is still compiled when executing the command.
Magento version is 2.1.x. Looking on the official magento github i don't see the source class anywhere on branch 2.1.x

Is there a way to fix this without forking the repo ?

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

No branches or pull requests

1 participant