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

compatibility with Contao 5.3? #7

Open
cscheibelhut opened this issue Oct 10, 2024 · 1 comment
Open

compatibility with Contao 5.3? #7

cscheibelhut opened this issue Oct 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cscheibelhut
Copy link

cscheibelhut commented Oct 10, 2024

I tried to make it work on a Contao 5.3 instance.
Unfortunately when I click on the buttons to generate, nothing happens and I get the following error in the log:

[2024-10-10T13:24:11.357863+00:00] request.CRITICAL: Uncaught PHP Exception Error: "Class "GuzzleHttp\Client" not found" at GptController.php line 106 {"exception":"[object] (Error(code: 0): Class \"GuzzleHttp\\Client\" not found at /var/www/html/xyz.de/web/vendor/cubex-hro/contao-openai-bundle/src/Controller/GptController.php:106)"} {"request_uri":"https://xyz.de/_gpt?id=3461&mode=description","request_method":"GET"}

It works properly on a 4.13 instance.
Do you know what the issue could be?

@cubex-hro cubex-hro added the bug Something isn't working label Oct 17, 2024
@cubex-hro cubex-hro self-assigned this Oct 17, 2024
@cubex-hro
Copy link
Owner

you need to require v1 for Contao 5 because of the GuzzleHttp Dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants