WordPress 6.9.2 Broke My Site
The WordPress security update 6.9.2 broke most of my sites. My template wrapper was casting an Object and that failed in the new updated /wp-includes/template-loader.php which explicitly requires a string (amongst other things). So after stressing out about the W.S.O.D. on most of my sites I got it figured out which was to cast my ThemeWrapper() class as a string.
Went from:
return new ThemeWrapper(); // returns an Object
to:
return (string) new ThemeWrapper(); // now a string
Edit.
No worries. WordPress 6.9.3 comes out 6 hours later to address the issue. WordPress statement with 6.9.3 release below. Lol, a few users. Sure.
Published on March 10, 2026