Skip to content

PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\\choose_handler()  #120

@richardcantwell

Description

@richardcantwell

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": "ben@benword.com",
"homepage": "https://github.com/retlehs"
},
{
"name": "Scott Walkinshaw",
"email": "scott.walkinshaw@gmail.com",
"homepage": "https://github.com/swalkinshaw"
},
{
"name": "QWp6t",
"email": "hi@qwp6t.me",
"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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions