You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i try the world datetime demo and i got this error:
Warning: Undefined array key 3 in C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\ApiKey\ApiKeyCookie.php on line 57
Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, null given in C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\ApiKey\ApiKeyCookie.php:57 Stack trace: #0 C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\ApiKey\ApiKeyCookie.php(57): json_decode(NULL, false, 512, 4194304) #1 C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\Bard.php(20): Khaledalam\BardSdkPhp\ApiKey\ApiKeyCookie->ask('What is the dat...') #2 C:\laragon\www\Bard\main.php(17): Khaledalam\BardSdkPhp\Bard->ask('What is the dat...') #3 {main} thrown in C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\ApiKey\ApiKeyCookie.php on line 57
Laravel 10:
same error: Undefined array key 3 in this line
$answer = $bard->ask($question);
The text was updated successfully, but these errors were encountered:
Hi,
i try the world datetime demo and i got this error:
Warning: Undefined array key 3 in C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\ApiKey\ApiKeyCookie.php on line 57
Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, null given in C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\ApiKey\ApiKeyCookie.php:57 Stack trace: #0 C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\ApiKey\ApiKeyCookie.php(57): json_decode(NULL, false, 512, 4194304) #1 C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\Bard.php(20): Khaledalam\BardSdkPhp\ApiKey\ApiKeyCookie->ask('What is the dat...') #2 C:\laragon\www\Bard\main.php(17): Khaledalam\BardSdkPhp\Bard->ask('What is the dat...') #3 {main} thrown in C:\laragon\www\Bard\vendor\khaledalam\bard-sdk-php\src\ApiKey\ApiKeyCookie.php on line 57
Laravel 10:
same error: Undefined array key 3 in this line
$answer = $bard->ask($question);
The text was updated successfully, but these errors were encountered: