#89692Followup #89008, PHP type errors and stale workspace page language cache
Description
A followup for #89008 is required to fix potential PHP type erors (int required, null passed) and to avoid a stale language cache (page ID given when reading, cached once, not refreshed if called with different page ID).