Skip to content

Command check expo tickets error: json_decode(): Argument #1 ($json) must be of type string, array given #18

@eightyfive

Description

@eightyfive

Simply running php artisan expo:tickets:check fails.

Is this related to the content of my receipts? (it should not fail anyway).

Let me know if valid, and I'll submit a PR.

 json_decode(): Argument #1 ($json) must be of type string, array given

  at vendor/yieldstudio/laravel-expo-notifier/src/ExpoNotificationsService.php:132
    128▕ 
    129▕             if ($responseItem["status"] === ExpoResponseStatus::ERROR->value) {
    130▕                 $data
    131▕                     ->message($responseItem["message"])
  ➜ 132▕                     ->details(json_decode($responseItem["details"], true));
    133▕             }
    134▕ 
    135▕             return $data;
    136▕         });

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions