edgardmessias / glpi-singlesignon

GNU General Public License v3.0
68 stars 51 forks source link

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

Closed leoinfra closed 4 months ago

leoinfra commented 4 months ago

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 commented 4 months ago

@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 commented 4 months ago

Closed by #89