kreait / laravel-firebase

A Laravel package for the Firebase PHP Admin SDK
https://github.com/kreait/firebase-php
MIT License
994 stars 163 forks source link

The path of a URI with an authority must start with a slash "/" or be empty #116

Closed Frtrillo closed 2 years ago

Frtrillo commented 2 years ago

When I do:

$reference->remove();

I get the following error: The path of a URI with an authority must start with a slash "/" or be empty

This is on Laravel 8. Maybe its related to this issue: https://github.com/kreait/firebase-php/issues/663 and you could fix it? T

jeromegamez commented 2 years ago

This looks indeed as if it was the same issue as in https://github.com/kreait/firebase-php/issues/663 - this can be solved by installing the latest release of the underlying SDK (at least 5.24). Which version is your project using? You can check with composer outdated and in case you have an older dependency installed, update it with composer update -W - either for your whole project or just the Laravel package.