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

Error when using "title" or "description #6

Open
markaba opened this issue Oct 9, 2024 · 1 comment
Open

Error when using "title" or "description #6

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

Comments

@markaba
Copy link

markaba commented Oct 9, 2024

No Result, no error message. Just in console:
...my-domain.com/_gpt?id=2&mode=title 500 (Internal Server Error)

Stack Trace from debug-Mode for this route:

ErrorException:
Warning: Trying to access array offset on value of type bool

  at vendor/cubex-hro/contao-openai-bundle/src/Classes/GptClass.php:42
  at Codebuster\ContaoOpenaiBundle\Classes\GptClass::prepareContent()
     (vendor/cubex-hro/contao-openai-bundle/src/Controller/GptController.php:33)
  at Codebuster\ContaoOpenaiBundle\Controller\GptController->__invoke()
     (vendor/symfony/http-kernel/HttpKernel.php:181)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:197)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/index.php:42)                
@cubex-hro cubex-hro self-assigned this Oct 17, 2024
@cubex-hro cubex-hro added the bug Something isn't working label Oct 17, 2024
@cubex-hro
Copy link
Owner

can you check settings?

Looks like the request didn't work.

Do you set openai token and settings like discribed in readme ?

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