• Resolved bee421375

    (@bee421375)


    after the plugin installed, and I put my key from openapi. that is.

    I got to the testing page and type something and it shows

    From OpenAI: Got an unexpected response from OpenAI. Check your PHP Error Logs.

    I checked. and only got this. no detail. not sure what is going on, but I did see the $data = $res[‘data’]; is empty. hope you can help.

    sudo grep “XXX.com” /var/log/httpd/error_log

    [Fri Nov 17 12:01:03.376738 2023] [php7:notice] [pid 29375] [client 172.70.189.95:65504] Got an unexpected response from OpenAI. Check your PHP Error Logs

Viewing 2 replies - 1 through 2 (of 2 total)
  • oneforall1

    (@oneforall1)

    I get also, after update, before that everything was ok, I just tried to turn on/off Local memory, and after that I get those php error logs, even when i try to disable/enable the chatbot.

    Error
    An error occured while updating the options.
    For more information, check your console. You might also want to check your PHP Error Logs.

    Update: cleaned all cookies and now works.

    • This reply was modified 1 year ago by oneforall1.
    • This reply was modified 1 year ago by oneforall1.
    Plugin Support Val Meow

    (@valwa)

    Hey @bee421375! ??

    I’ve conducted tests with the latest version on a fresh install and couldn’t experience this issue. Note that errors starting with “From OpenAI:” are coming directly from the API and not from AI Engine.

    This could be either a problem with the OpenAI API directly or your installation, potentially related to cache. Try disabling other plugins to ensure there are no compatibility issues taking place. It’s also good practice to use a supported version of PHP and the latest version of the plugin. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘From OpenAI: Got an unexpected response from OpenAI. Check your PHP Error Logs.’ is closed to new replies.