5fbbb51882
The json_decode function does not accept a null, which is the traditional default for get_user_preferences. By passing a default of am empty string we avoid issues in PHP 8.1.