morrislaptop / firestore-php

Firestore SDK for PHP without gRPC
MIT License
67 stars 31 forks source link

Symfony\Component\ErrorHandler\Error\FatalError Declaration of Morrislaptop\Firestore\Factory::createFirestore(): Morrislaptop\Firestore\Firestore must be compatible with Kreait\Firebase\Factory::createFirestore(?array $firestoreClientConfig = NULL): Kreait\Firebase\Firestore #17

Open JunaidZaidii opened 4 years ago

JunaidZaidii commented 4 years ago

Symfony\Component\ErrorHandler\Error\FatalError Declaration of Morrislaptop\Firestore\Factory::createFirestore(): Morrislaptop\Firestore\Firestore must be compatible with Kreait\Firebase\Factory::createFirestore(?array $firestoreClientConfig = NULL): Kreait\Firebase\Firestore

JunaidZaidii commented 4 years ago

controller

JunaidZaidii commented 4 years ago

Error

trident505 commented 4 years ago

I have same issues using this package. Hm... How should I solve this? or is this git wrong?

CHEWX commented 4 years ago

Same issue as #15, I think you need kreait/firebase-php < 4.44 to work.

This repo will need updating to work with higher versions of kreait/firebase-php as the methods have been deprecated.

choudharyafsaralikhurshid commented 3 years ago

Hello please help i am getting same issues. and use these dependency package "kreait/firebase-php": "^4.35" "google/protobuf": "^3.15" "morrislaptop/firestore-php": "^2.2" Screenshot from 2021-03-10 20-16-10

khurram753 commented 2 years ago

same issue