mirasvit / module-profiler

Magento 2 Profiler
https://mirasvit.com/
Open Software License 3.0
133 stars 36 forks source link

php8.1 - Fatal error: Uncaught Exception: Deprecated Functionality: explode(): Passing null to parameter #2 ($string) of type string is deprecated #56

Open WebKenth opened 2 years ago

WebKenth commented 2 years ago

It is possible for this configuration to be null, and is directly passed into an explode function

As of php8.1 this is no longer accepted

https://github.com/mirasvit/module-profiler/blob/874c2d85d18aa1555cf541c36dc08da7b2a56171/src/Profiler/Model/Config.php#L140