Skip to content

use object ref instead of array ref - #4

Merged
unconv merged 1 commit into
unconv:masterfrom
silvertonsoftware:patch-1
Apr 22, 2024
Merged

use object ref instead of array ref#4
unconv merged 1 commit into
unconv:masterfrom
silvertonsoftware:patch-1

Conversation

@silvertonsoftware

@silvertonsoftware silvertonsoftware commented Apr 22, 2024

Copy link
Copy Markdown
Contributor
PHP Fatal error:  Uncaught Error: Cannot use object of type stdClass as array in /php-gpt-funcs-master/library/ChatGPT.php:363
Stack trace:
#0 [internal function]: ChatGPT->{closure}()
#1 /php-gpt-funcs-master/library/ChatGPT.php(364): array_filter()
#2 /php-gpt-funcs-master/library/ChatGPT.php(291): ChatGPT->handle_functions()

@unconv

unconv commented Apr 22, 2024

Copy link
Copy Markdown
Owner

Thanks for the fix!

@unconv
unconv merged commit 466934b into unconv:master Apr 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants