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

PHP Fatal error: Class 'Curl\Curl' not found #7

Closed
thebringerofdeath789 opened this issue Feb 9, 2019 · 3 comments
Closed

PHP Fatal error: Class 'Curl\Curl' not found #7

thebringerofdeath789 opened this issue Feb 9, 2019 · 3 comments

Comments

@thebringerofdeath789
Copy link

Im getting this error:
PHP Fatal error: Class 'Curl\Curl' not found in /redacted/proxmox/vendor/saleh7/proxmox-ve_php_api/src/Request.php on line 46

This is on a debian 9 server running php 5.6, with a fresh composer install from the getcomposer site.
php-curl is installed on the system.

@thebringerofdeath789
Copy link
Author

eventually i tried ' composer require curl/curl' and it resolved the above error but it just gives me quite a few more different errors before failing to get a ticket / etc.

PHP Notice: Undefined property: Curl\Curl::$data in /proxmox/vendor/saleh7/proxmox-ve_php_api/src/Request.php on line 59
PHP Notice: Trying to get property of non-object in /proxmox/vendor/saleh7/proxmox-ve_php_api/src/Request.php on line 59
PHP Notice: Undefined property: Curl\Curl::$data in /proxmox/vendor/saleh7/proxmox-ve_php_api/src/Request.php on line 61
PHP Notice: Trying to get property of non-object in /proxmox/vendor/saleh7/proxmox-ve_php_api/src/Request.php on line 61

@ferdl9999
Copy link

Exactly the same problem here. php7.3 installed on debian 9 with a fresh install of composer.

php-curl or php7.3-curl is also installed on the system. I also tried the command composer require curl/curl but then there are just other errors.

@emresaracoglu
Copy link

composer require php-curl-class/php-curl-class

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

4 participants