PHP 8.* – Deprecated Functionality: explode(): Passing null to parameter #2 ($string)

If you are facing an issue like that ”, which is mostly being shown when you move code from PHP 7.4 to 8.*. I would say that the best approach to get that fixed is replacing the following line of code:

to something like this:

Hope this helps.