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

Cannot install Magento 2.1.4 with plugin enabled #39

Closed
navarr opened this issue Feb 24, 2017 · 5 comments
Closed

Cannot install Magento 2.1.4 with plugin enabled #39

navarr opened this issue Feb 24, 2017 · 5 comments

Comments

@navarr
Copy link

navarr commented Feb 24, 2017

With the cloudflare magento plugin required, a fresh installation of Magento 2.1.4 fails.

Error message: (vagrant/puppet encoded)

==> default: Notice: /Stage[main]/Magento/Exec[Install Magento]/returns: Running schema recurring...PHP Fatal error:  Uncaught Error: Cannot instantiate interface CF\Integration\IntegrationInterface in /var/www/Magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:73
==> default: Notice: /Stage[main]/Magento/Exec[Install Magento]/returns: Stack trace:
==> default: Notice: /Stage[main]/Magento/Exec[Install Magento]/returns: #0 /var/www/Magento/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('CF\\Integration\\...')
==> default: Notice: /Stage[main]/Magento/Exec[Install Magento]/returns: #1 /var/www/Magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(126): Magento\Framework\ObjectManager\ObjectManager->get('CF\\Integration\\...')
==> default: Notice: /Stage[main]/Magento/Exec[Install Magento]/returns: #2 /var/www/Magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'CF\\Integration\\...', NULL, 'integration', 'CloudFlare\\Plug...')
==> default: Notice: /Stage[main]/Magento/Exec[Install Magento]/returns: #3 /var/www/Magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('CloudFlare\\Plug...', Array, Array)
==> default: Notice: /Stage[main]/Magento/Exec[Install Magento]/returns: #4 /var/www/Magento/vendor/magento/framework/Obj in /var/www/Magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 73
@jwineman
Copy link
Contributor

Hi,

Are you in development or production mode?
What bin/magento commands did you run beforehand?

@navarr
Copy link
Author

navarr commented Feb 25, 2017

So this is happening as part of our deployment process. So no Magento commands have been run, there's no var files, etc.

The error occurs during a setup:install.

MariaDB 10, PHP 5.6

It was also occurring during a setup:upgrade on the server, but that's harder to get a good reproducible case for.

@jwineman
Copy link
Contributor

I think this is a dupe or at least related to #34

I'm looking into these issues next week. I'll leave this open and update when I know more.

I'm able to reproduce though.

@ooples
Copy link

ooples commented Mar 29, 2017

I'm having this same issue as well. I can't get cloudflare to work with magento 2.1.4

@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

3 participants