Skip to content

guzzle: Error creating resource Filename cannot be empty #22

@MaskedHawk

Description

@MaskedHawk

Hey i'm on symfony4, i tried to use ExpoNotifications Bundle (Version 1.2) like this:

$notificationManager = $this->container->get("sc_expo_notifications.notification_manager");

$title = "toto";
$message = "toto";
$token = "3h-JyAFpUIunyzV_Jik5zI";

$httpResponse = $notificationManager->sendNotification(
    $message,
    $token,
    $title
);

and I got this error.

Error creating resource: [message] fopen(): Filename cannot be empty
[file] /vagrant/tell-my-city/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php
[line] 323

it seems that the uri expected in gruzzle is empty.
Is it normal ?
Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions