We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
I have no prior knowledge of PHP and I was handed down a project made entirely out of PHP.
My issue is that whenever I try to run my project, I receive the following error:
Fatal error: Class 'Curl\Curl' not found in /Users/jayanpatel/Desktop/Clickstream-Generator/mainstream//rrapi.php on line 74
This what it looks like in line 74:
$curl = new Curl\Curl();
And this is what I have in the composer.json:
Can you please help a beginner in PHP understand what is going on and how to solve this issue?
Thanks! J.
The text was updated successfully, but these errors were encountered:
Hi jayanpatel,
You should use require_once to include the composer autoloader in your project root file or in each file:
<?php require_once '/path/to/vendor/autoload.php';
For more help:
Sorry, something went wrong.
No branches or pull requests
Hello!
I have no prior knowledge of PHP and I was handed down a project made entirely out of PHP.
My issue is that whenever I try to run my project, I receive the following error:
Fatal error: Class 'Curl\Curl' not found in /Users/jayanpatel/Desktop/Clickstream-Generator/mainstream//rrapi.php on line 74
This what it looks like in line 74:
$curl = new Curl\Curl();
And this is what I have in the composer.json:
Can you please help a beginner in PHP understand what is going on and how to solve this issue?
Thanks!
J.
The text was updated successfully, but these errors were encountered: