jeudi 29 septembre 2016

j-42 Laravel-Firebase Configuration

I am new to Firebase. So,

Firebase::delete('/my/path');

In above code segment what should be the value for /my/path?

I have tried event_cals/8 for that. There event_cals is the root node in the firebase tree and 8 is the id(child node name). So when I tried Firebase::delete('/event_cals/8'); it will display following error. PHP error: Argument 1 passed to J42\LaravelFirebase\Client::__construct() must be of the type array, null given, called in D:\SAHACKATHON\vendor\j42\laravel-firebase\src\j42\Larave lFirebase\LaravelFirebaseServiceProvider.php on line 53 and defined in D:\SAHACKATHON\vendor\j42\laravel-firebase\src\j42\LaravelFirebase\Client.php on line 20

So how to solve this issue guys?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire