PHP was throwing an error due to the fact that explode was being passed directly as a parameter of the array_pop function, which causes an error because the return value of explode must be set against a variable before being passed to a function. See this article for more information/an example of where this occurs.
To fix this is now being set against a variable before being passed to the following function.
Tested with PHP 7.3, WordPress 5.7.2 and MySQL 5.7
Background
PHP was throwing an error due to the fact that
explode
was being passed directly as a parameter of thearray_pop
function, which causes an error because the return value ofexplode
must be set against a variable before being passed to a function. See this article for more information/an example of where this occurs.To fix this is now being set against a variable before being passed to the following function.
WP_DEBUG=true