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

Error after compile on production mode #38

Closed
osmansorkar opened this issue Jan 8, 2017 · 5 comments
Closed

Error after compile on production mode #38

osmansorkar opened this issue Jan 8, 2017 · 5 comments

Comments

@osmansorkar
Copy link

Fatal error: Uncaught TypeError: Argument 1 passed to CF\Integration\DefaultIntegration::__construct() must be an instance of CF\Integration\ConfigInterface, instance of Magento\Framework\ObjectManager\ObjectManager given, called in /var/www/clients/client0/web1/web/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /var/www/clients/client0/web1/web/vendor/cloudflare/cloudflare-plugin-backend/src/Integration/DefaultIntegration.php:20 Stack trace: #0 /var/www/clients/client0/web1/web/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(93): CF\Integration\DefaultIntegration->__construct(Object(Magento\Framework\ObjectManager\ObjectManager)) #1 /var/www/clients/client0/web1/web/lib/internal/Magento/Framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('CF\Integration\...', Array) #2 /var/www/clients/client0/web1/web/lib/internal/Magento/Framework/ObjectManager/Factory/Compiled.php(130): Mag in /var/www/clients/client0/web1/web/vendor/cloudflare/cloudflare-plugin-backend/src/Integration/DefaultIntegration.php on line 20

@frustratedtech
Copy link

Same issue for me.

@kartguru
Copy link

ditto ... but in development mode

Recoverable Error: Argument 1 passed to CF\Integration\DefaultIntegration::__construct() must be an instance of CF\Integration\ConfigInterface, instance of Magento\Framework\ObjectManager\ObjectManager given, called in /public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /public_html/vendor/cloudflare/cloudflare-plugin-backend/src/Integration/DefaultIntegration.php on line 20

@ooples
Copy link

ooples commented Mar 29, 2017

Is there anyone working on this issue?

@jwineman
Copy link
Contributor

I'm still looking into this.

@jwineman
Copy link
Contributor

jwineman commented Apr 2, 2017

Fixed in #47

Can you upgrade to 1.1.1 and let me know if this is resolved please?

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

5 participants