PHP 8.2.3 + wp_safe_redirect() results in PHP fatal error
-
Hey! While I was developing another plugin, I noticed an error with QM + PHP 8.x when using wp_safe_redirect() or wp_redirect().
I have tested this with PHP 7.4 and I do not get this error with QM active.
As soon as PHP 8.x is being used, the error starts to happen whenever we are calling wp_safe_redirect() or wp_redirect().Fatal error: Uncaught Error: count(): Argument #1 ($value) must be of type Countable|array, null given
in /home/cloudways.app/cjbrhxmcev/public_html/wp-content/plugins/query-monitor/collectors/db_queries.php on line 231
Could you please take a look at this for me?
Thank you,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.