Closed skyminds closed 7 months ago
I've tested this up to PHP 8.2, and I can't reproduce it. $settings['enhanced_measurements']
is always an array, as it's set in $defaults
:
The error thrown says that $settings['enhanced_measurements']
isn't an array, but a string. Which can't happen, as wp_parse_args()
makes sure it's an (empty) array.
What I did to try and reproduce it, is the following:
I'm not getting any errors.
Could you provide a more detailed report on how to reproduce it?
Plausible throws a fatal error, which affects the frontend and backend - PHP Fatal error: Uncaught TypeError: in_array():
Using the self-hosted version, v2.0.1, with PHP 8.2 and PHP8.3