Warning when upgrading PHP from v7.0.33 to v7.3.0


#1

WARNING: /var/www/matomo/vendor/tedivm/jshrink/src/JShrink/Minifier.php(196): Deprecated - strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior - Matomo 3.7.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

This is my first post. Matomo told me to do it! Let me know if I need to provide any other details.


(Fabian Dellwing) #2

Should get fixxed with 3.9.0.


Array to string convertion error
(Lukas Winkler) #3

Until then I’d recommend you to maybe stay with PHP 7.2 (even though I think this is just a warning and should not break anything)


#4

My PHP 7.3 broke some other sites so I downgraded to 7.2. Just update from Matamo version 3.7.0 to 3.8.0 and the warning persists. Having stated that…

Again, just stating that it will be fixed and for any users maybe researching this warning, not error, that it will be resolved in the next release.

Thank you.