Pierre-Lannoy / wp-decalog

Capture and log events, metrics and traces on your site. Make WordPress observable - finally!
https://perfops.one/
GNU General Public License v3.0
64 stars 8 forks source link

Fix deprecation warning in PHP8+ #47

Closed stevapple closed 1 year ago

stevapple commented 1 year ago

Fixes the following warning on PHP 8+:

PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in 
.../wp-content/plugins/decalog/includes/system/class-ip.php on line 99

which is actually caused by type mismatch. (Superseding https://github.com/Pierre-Lannoy/wp-decalog/pull/46)

Pierre-Lannoy commented 1 year ago

Than you so much <3