Closed NOaMTL closed 2 years ago
You have a lot of dependencies that could interfere with each other, so that one could prevent the installation of a recent version of another. Here are some issues that stood out to me:
google/cloud-firestore
is set to ^0.1.0
- the current version is 1.20.0, which you will not get with this constraint.
kreait/firebase-bundle
is fixed to 3.1.0
- this will prevent you from getting newer releases, you should set it to ^3.1.0
.
You can check other outdated dependencies with the composer outdated
command.
As this is not an issue with the SDK itself but with composer dependency management, I'm going to close this issue, but feel free to share the steps you did to update the dependencies so that others might benefit from them.
Describe the issue you are experiencing
Hello,
I am having troubles to use firestore. I get this error :
Unable to create a FirestoreClient: Class "Google\ApiCore\Serializer" not found
my composer.json :
Installed packages
PHP version and extensions
OS : Debian 9.13 (Plesk)
On which operating system(s) does the issue occur?
Steps to reproduce the issue.
My controller injecting (Firestore $firestore):
Error message/Stack trace
Unable to create a FirestoreClient: Class "Google\ApiCore\Serializer" not found
return $this->createFactory($config)->createDatabase(); } public function createFirestore(array $config = []): Firebase\Contract\Firestore { return $this->createFactory($config)->createFirestore(); } public function createMessaging(array $config = []): Firebase\Contract\Messaging { return $this->createFactory($config)->createMessaging();
Additional information
No response