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: Uncaught Error: Call to undefined function GuzzleHttp\\choose_handler() #120

Open
richardcantwell opened this issue Aug 9, 2021 · 0 comments

Comments

@richardcantwell
Copy link

Hi there,

I'm getting a FATAL error with this library - seems to be happening the last few days - here's the error ...

[Mon Aug 09 12:45:28.666424 2021] [php7:error] [pid 30540] [client 195.70.88.106:35304] PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\choose_handler() in /nas/content/live/acntonline/wp-content/themes/accountantonline/vendor/guzzlehttp/guzzle/src/HandlerStack.php:42\nStack trace:\n#0 /nas/content/live/acntonline/wp-content/themes/accountantonline/vendor/gocardless/gocardless-pro/lib/Client.php(44): GuzzleHttp\HandlerStack::create()\n#1 /nas/content/live/acntonline/wp-content/themes/accountantonline/app/includes/package/gocardless.php(71): GoCardlessPro\Client->__construct(Array)\n#2 /nas/content/live/acntonline/wp-content/themes/accountantonline/app/includes/package/gocardless.php(357): Roots\Sage\Vendor\GoCardless\get_auth()\n#3 /nas/content/live/acntonline/wp-content/themes/accountantonline/app/includes/package/gocardless.php(141): Roots\Sage\Vendor\GoCardless\get_customers()\n#4 /nas/content/live/acntonline/wp-admin/includes/template.php(1389): Roots\Sage\Vendor\GoCardless\ao_gocardless_display('', Array)\n#5 /nas/content/live/acntonline/wp-admin/includes/dashboard.php(256): do_meta_boxes(Ob in /nas/content/live/acntonline/wp-content/themes/accountantonline/vendor/guzzlehttp/guzzle/src/HandlerStack.php on line 42

Here's my composer file ..

{
"name": "roots/sage",
"type": "wordpress-theme",
"license": "MIT",
"description": "WordPress starter theme with a modern development workflow",
"homepage": "https://roots.io/sage/",
"authors": [
{
"name": "Ben Word",
"email": "[email protected]",
"homepage": "https://github.com/retlehs"
},
{
"name": "Scott Walkinshaw",
"email": "[email protected]",
"homepage": "https://github.com/swalkinshaw"
},
{
"name": "QWp6t",
"email": "[email protected]",
"homepage": "https://github.com/qwp6t"
}
],
"keywords": ["wordpress"],
"support": {
"issues": "https://github.com/roots/sage/issues",
"forum": "https://discourse.roots.io/"
},
"autoload": {
"psr-4": {
"App\": "app/"
}
},
"require": {
"php": ">=7.1",
"composer/installers": "~1.0",
"illuminate/support": "5.6.*",
"roots/sage-lib": "~9.0.9",
"soberwp/controller": "~2.1.0",
"htmlburger/carbon-fields": "^3.1",
"gocardless/gocardless-pro": "^3.3"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.8.0",
"roots/sage-installer": "~1.6"
},
"scripts": {
"test": ["phpcs"],
"post-create-project-cmd": [
"Roots\Sage\Installer\ComposerScript::postCreateProject"
]
}
}

Any advise would be great?

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

1 participant