-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Class 'Laminas\Http\Client' not found #15
Comments
Disregard. I found my answer after the basic usage code block in the docs. So I installed the laminas/laminas-http package and that works. |
@benjaminkohl Please see also in documentation for this notice:
https://docs.laminas.dev/laminas-feed/reader/#importing-feeds The "suggest" section in the Composer file also contains this note: Line 48 in 0fb0825
|
But thanks anyway, because your request helps us to rethink the error message and provide better help. |
Yes, thank you. I probably wouldn't have run into this if that block about the HTTP client appeared above the basic usage code in the documentation. |
Good point! 👍 Currently I'm working on a description to include laminas-feed in laminas-mvc application. After this I planned a restructuring of the entire component documentation which included a smaller and clearer quick start. |
Bug Report
I tried to run Reader::import($url) and there appears to be an issue locating a class from within that class.
Summary
Here is the stack trace. I swapped out the true paths, class names and the URL to protect our client's privacy.
Current behavior
See the stack trace.
How to reproduce
I placed the following at the top of my class:
In a function, I am calling import like:
That line with "import" is #1 in the stack trace.
Expected behavior
No exception? Feed is parsed and stored in the $feed variable.
The text was updated successfully, but these errors were encountered: