This is the error: [https://prnt.sc/Tg3dSTK45mYJ])
In case you can’t see, here they are:
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <redacted>\wp-includes\formatting.php on line 5397
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in <redacted>\wp-includes\pluggable.php on line 598
When I set WP\_DEBUG to false, they go away. Should I do anything about them?
​
EDIT: Now that I log into the Dashboard, I see so many other errors. There is no plugin installed. Default theme.
[ad_2]
What version of PHP are you running?
Also, you can set `WP_DEBUG` to `false` and install Query Monitor if you need to track PHP errors.
There is definitely a plugin or theme installed that’s causing this. The current version of WordPress itself runs fine on php 8.0. I wouldn’t go higher than that though as a lot of themes/plugins haven’t been updated.
Check your plugins and mu-plugins folders.