Open eshbanbahadur opened 1 day ago
Your composer.json
has "5.5"
instead of "^5.5"
for the package, could you please change this to get the latest release and do a composer update -W
, just to be sure that that's not the reason?
Also, neither the package nor the SDK use the substr()
function, so I think, at the moment, that the problem must be somewhere else.
Describe the bug
I am using Laravel 11 with PHP 8.2.18 on Windows 11 with Wamp Server 3.3.5. I have created a Laravel project with Command line and after that whenever I run a command: `composer require kreait/laravel-firebase:^5.5 --with-all-dependencies
` I got following error: Running composer update kreait/laravel-firebase Loading composer repositories with package information Updating dependencies
In Problem.php line 652:
[TypeError] substr(): Argument #1 ($string) must be of type string, null given
I have tried with Fresh Laravel Installations and new composer installations but it cannot go?
Could you please help on that?
Installed packages
PHP version and extensions
Steps to reproduce the issue.
Error message/Stack trace
Additional information
No response