From 20c17648e6cab26dd6e6b5b91b52cb6471cb079b Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Wed, 12 Aug 2026 17:09:03 -0400 Subject: [PATCH] Require the registries this renderer's callers read The AI tab included this without confform.php and referenced a constant from it, which is a fatal, which is a blank page. --- Plugin/unraid/include/confui.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Plugin/unraid/include/confui.php b/Plugin/unraid/include/confui.php index 8c2005c..4ba773d 100644 --- a/Plugin/unraid/include/confui.php +++ b/Plugin/unraid/include/confui.php @@ -58,6 +58,12 @@ // css/varaverk.css the vv-cf-* family these classes belong to // ═══════════════════════════════════════════════════════════════════════════════════════════════ +// Required, not assumed. This file emits the renderer for fields that confform.php parses, and +// the pages that include it also read its registries — VV_UI_SECTION_SURFACES among them. Left to +// whichever page happened to have pulled it in first, that works everywhere it was tested and +// fatals on the one page that included this without it, which is what took the AI tab blank. +require_once __DIR__ . '/confform.php'; + function vv_conf_ui_assets(): void { static $done = false; if ($done) return;