On PHP 8.1 watchdog is flooded with this.
Avoid PHP warnings/notices.
Needs review
1.0
Code
The issue particularly affects sites running on PHP version 8.1.0 or later.