Closed wredan closed 1 year ago
I think the problem might be that you are doing the composer install
on your local computer and then push everything, including the vendor directory, to the remote host.
If my assumption is correct, you should be able to resolve this by adding
"platform": {
"php": "8.0.22"
}
to the config
section and then do a composer update -W
(perhaps delete the vendor
directory beforehand, just to be sure). (https://getcomposer.org/doc/06-config.md#platform)
I hope this resolves the issue! π€π»
Concerning the messages not showing up in the Firebase console: only messages sent from the console show up there, messages sent from backends unfortunately don't.
Let me know if it works!
Syntax errors are almost always a sign that code targeted at newer PHP versions is executed in an environment with an older PHP version.
Ty for your response! I'll give it a try as soon as possible and reach back to give you feedback π
Hi, @jeromegamez giving the target platform actually works π . Thank you so much for the support even if it was not a package bug related. Closing the issue π
Describe the bug
Hi, I am facing this issue when deploying laravel 8 on a shared host (I know, bad practice, but still trying to keep this project as cheap as possible π ). This package works amazingly on local env, ty for providing it π .
That being said, here are some specs:
dd(phpversion());
). I had to make some compromises like using laravel v8 instead of v9, cannot using SMTP, etc. so I do not exclude could be an issue related to the env PHP version.If you think this could be related to the platform I am using, I will post directly to their forum. Thanks for your patience and your amazing work π.
Installed packages
PHP version and extensions
This is my local env
composer show --platfom
:Steps to reproduce the issue.
Error message/Stack trace
Additional information
No response