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

Fatal error: Class 'Magento\Framework\HTTP\Client_Curl' not found #1435

Closed
bvdooren opened this issue Jul 2, 2015 · 2 comments
Closed

Fatal error: Class 'Magento\Framework\HTTP\Client_Curl' not found #1435

bvdooren opened this issue Jul 2, 2015 · 2 comments
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@bvdooren
Copy link

bvdooren commented Jul 2, 2015

$client  = Client::getInstance( 'curl' ); 

generates wrong class path on line 37 in class Magento\Framework\HTTP\Client.

Changing this line from this

$class = __CLASS__ . "_" . str_replace(' ', '/', ucwords(str_replace('_', ' ', $frontend)));

to this

$class = __CLASS__ . "\\" . str_replace(' ', '/', ucwords(str_replace('_', ' ', $frontend)));

seems to fix it.

@joanhe
Copy link
Contributor

joanhe commented Jul 2, 2015

Thanks for reporting this issue. Internal ticket MAGETWO-39658 is created.

@joanhe joanhe added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Jul 2, 2015
magento-team pushed a commit that referenced this issue Oct 12, 2015
…ient_Curl' not found #1435

- Changed legacy client class to a proper factory class.
@okorshenko
Copy link
Contributor

@bvdooren, thank you for reporting the issue. Internal ticket: MAGETWO-39658 has been closed and merged to develop branch. Please, let us know if you still have an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

4 participants