{"id":1434,"date":"2026-03-10T16:32:04","date_gmt":"2026-03-10T21:32:04","guid":{"rendered":"https:\/\/ma.rcbla.se\/blog\/?p=1434"},"modified":"2026-03-11T08:16:59","modified_gmt":"2026-03-11T13:16:59","slug":"wordpress-6-9-2-broke-my-site","status":"publish","type":"post","link":"https:\/\/ma.rcbla.se\/blog\/2026\/03\/wordpress-6-9-2-broke-my-site\/","title":{"rendered":"WordPress 6.9.2 Broke My Site"},"content":{"rendered":"<p>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.<\/p>\n<p>Went from:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">return new ThemeWrapper(); \/\/ returns an Object<\/pre>\n<p>to:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">return (string) new ThemeWrapper(); \/\/ now a string<\/pre>\n<p>Edit.<\/p>\n<p>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.<\/p>\n<p><a href=\"https:\/\/ma.rcbla.se\/blog\/wp-content\/uploads\/2026\/03\/Screenshot-2026-03-11-080857.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ma.rcbla.se\/blog\/wp-content\/uploads\/2026\/03\/Screenshot-2026-03-11-080857.png\" alt=\"\" width=\"706\" height=\"553\" class=\"alignnone size-full wp-image-1440\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,3,13],"tags":[],"class_list":["post-1434","post","type-post","status-publish","format-standard","hentry","category-coding","category-discoveries","category-humor"],"_links":{"self":[{"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/posts\/1434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/comments?post=1434"}],"version-history":[{"count":7,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/posts\/1434\/revisions"}],"predecessor-version":[{"id":1442,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/posts\/1434\/revisions\/1442"}],"wp:attachment":[{"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/media?parent=1434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/categories?post=1434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/tags?post=1434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}