Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Deprecated function (8192): str_replace(): #88

Closed
leoinfra opened this issue Apr 19, 2024 · 2 comments
Closed

PHP Deprecated function (8192): str_replace(): #88

leoinfra opened this issue Apr 19, 2024 · 2 comments

Comments

@leoinfra
Copy link

I set up authentication and it works wonderfully with Google.

It just didn't work to add an image.
I tried png, giff, sgv, jpg, ico. different sizes and it doesn't work.

In debug mode, these errors appear, but I don't know how to fix them.

Congratulations on the work.

PHP Deprecated function (8192): str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /var/www/glpi10/glpi/plugins/singlesignon/inc/provider.class.php at line 871

PHP Deprecated function (8192): hash_hmac(): Passing null to parameter #2 ($data) of type string is deprecated in /var/www/glpi10/glpi/plugins/singlesignon/inc/provider.class.php at line 872

@invisiblemarcel
Copy link
Contributor

@leoinfra Adding a picture didn't work for me for generic as well. But I could figure out the problems and fixed them. See my pull request #89.

@edgardmessias
Copy link
Owner

Closed by #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants