-
Notifications
You must be signed in to change notification settings - Fork 17
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
Issue with cloudflare Plugin #34
Comments
Hi, What version of the plugin are you using? Thank, |
Hi, Thanks in advance for your reply. Ferdinand 2016-11-07 1:27 GMT+01:00 John Wineman notifications@github.com:
|
Still looking into this - what version of Magento are you running? |
I am using Magento version 2.1.2 2016-11-08 17:57 GMT+01:00 John Wineman notifications@github.com:
|
Hi, My dev environment is 2.0, looks like this is a compatibility issue with 2.1.x. Not sure what the root cause is but I'm setting up a 2.1 environment and working on a fix now! I'll update this issue when I know more. Thanks, |
Hi John, Please let me know if you find a fix for 2.1.x. Courage Thanks. 2016-11-09 0:18 GMT+01:00 John Wineman notifications@github.com:
|
Hi, I'm able to reproduce the issue now and am working on a fix. Thanks, |
Hi, after running
I was able to load the plugin, does this work for you? |
Hello, @jwineman! With best regards! |
I think: |
Hi @Hawok, Can you please go into more detail? Before developing this plugin I'd never used magento before so my domain knowledge is lacking. Doesn't Thanks, |
Thanks for your fast feedback, @jwineman! I think you have a problem in di.xml file. Thanks, Dima. |
The issue is definitely between Magento CE 2.0.x and 2.1.x. However if there is a problem with di.xml I'm not aware what it is. The config in question is:
The first argument specified is |
If you will run |
Okay this is helpful - thank you! I'll debug further and report back. |
Thank you too! Would like to help you, but I can debug this problem tomorrow. Best regards! |
Still looking into this. This issue seems similar but no root cause: When I run |
Hello, @jwineman! |
@Hawok are you saying this is something Magento, not Cloudflare needs to fix? |
This problem depends on Magento 2 DI mechanics. I think you need update README and wait fix from Magento 2. Thanks, |
I'll submit a bug with Magento and see what happens. |
Hi, is there an update on this issue? any update from magento? |
I just wanted to let you know I have this problem on Magento 2.0.7. Edit: I was able to circumvent the issue by running |
Hi Guys, Sorry I've been slow to reply. I still don't have a root cause for this bug, another work around appears to be running |
Alright I've resolved this issue. Magento allows you to specify a
Fixes the issue. Working on a patch now. |
Fixed in #47 Can you try upgrading to 1.1.1 and let me know if that fixes the issue? |
Hi,
I got this issue when I activated CloudflarePlugin (in below).
2016/11/05 13:23:54 [error] 5143#5143: *21 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to CF\Integration\DefaultIntegration::__construct() must implement interface CF\Integration\ConfigInterface, instance of Magento\Framework\ObjectManager\ObjectManager given, called in vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in vendor/cloudflare/cloudflare-plugin-backend/src/Integration/DefaultIntegration.php:20
Stack trace:
#0 vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): CF\Integration\DefaultIntegration->__construct(Object(Magento\Framework\ObjectManager\ObjectManager))
#1 vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('CF\Integration\...', Array)
#2 vendor/magento/framework/ObjectManager/Factory/Compiled.php(130): Magento\Framewo" while reading response header from upstream
I followed the steps given to install the module but nothing changed:
From the magento2 root directory run the following commands:
composer require cloudflare/cloudflare-magento
composer update
bin/magento setup:upgrade
bin/magento setup:di:compile
Thanks in advance
The text was updated successfully, but these errors were encountered: