Fatal error: Uncaught Kreait\Firebase\Exception\InvalidArgumentException: /home/sc4rgbh7530/ocalm.fr/sys/core/secret/ can not be read: Cannot use SplFileObject with directories in /home/sc4rgbh7530/ocalm.fr/sys/core/vendor/kreait/firebase-php/src/Firebase/ServiceAccount.php:116
Stack trace:
#0 /home/sc4rgbh7530/ocalm.fr/sys/core/vendor/kreait/firebase-php/src/Firebase/ServiceAccount.php(64): Kreait\Firebase\ServiceAccount::fromJsonFile()
#1 /home/sc4rgbh7530/ocalm.fr/sys/core/vendor/kreait/firebase-php/src/Firebase/Factory.php(141): Kreait\Firebase\ServiceAccount::fromValue()
#2 /home/sc4rgbh7530/ocalm.fr/sys/core/init.inc.php(48): Kreait\Firebase\Factory->withServiceAccount()
#3 /home/sc4rgbh7530/ocalm.fr/public/index.php(8): include_once('/home/sc4rgbh75...')
#4 {main}
Next Kreait\Firebase\Exception\InvalidArgumentException: Invalid service account: /home/sc4rgbh7530/ocalm.fr/sys/core/secret/ can not be read: Cannot use SplFileObject with directories in /home/sc4rgbh7530/ocalm.fr/sys/core/vendor/kreait/firebase-php/src/Firebase/ServiceAccount.php:66
Stack trace:
#0 /home/sc4rgbh7530/ocalm.fr/sys/core/vendor/kreait/firebase-php/src/Firebase/Factory.php(141): Kreait\Firebase\ServiceAccount::fromValue()
#1 /home/sc4rgbh7530/ocalm.fr/sys/core/init.inc.php(48): Kreait\Firebase\Factory->withServiceAccount()
#2 /home/sc4rgbh7530/ocalm.fr/public/index.php(8): include_once('/home/sc4rgbh75...')
#3 {main}
thrown in /home/sc4rgbh7530/ocalm.fr/sys/core/vendor/kreait/firebase-php/src/Firebase/ServiceAccount.php on line 66