<ul><li>Added <code>$var = $var ?? null/[]</code> guard blocks to all partial view files in BlogManager, NewsManager, LegalDocsManager, and QuoteRequestManager that lacked them</li><li>Fixed BlogManager/options/categories.php: missing $domainsite_params guard</li><li>Fixed NewsManager/options/categories.php: replaced broken duplicate <code>global</code> declarations with proper null-coalescing guards for $domainsite_params and $newsmodid</li><li>Fixed NewsManager/page/news/table_news.php: added guards for $newsmodid and $news; added $news ?? [] before array_walk_recursive</li><li>Fixed NewsManager/page/categories/table_categories.php: added $categories ?? [] guard; renamed cleanCat() to cleanNewsCat() to avoid function redeclaration conflict</li><li>Fixed BlogManager/page/categories/table_categories.php: added $categories ?? [] guard; renamed cleanCat() to cleanBlogCat() to avoid redeclaration</li><li>Fixed LegalDocsManager/page/legal_docs/table_legal_docs.php: added guards for $legaldocsmodid and $legalDocs; added $legalDocs ?? [] safety fallback</li><li>Fixed LegalDocsManager/options/categories.php: replaced global declaration with proper null-coalescing guards</li><li>Fixed QuoteRequestManager/options/categories.php: added guards for $domainsite_params, $quotemodid, $searchads_params</li><li>Root cause: PHP class method scope does not inherit global scope — partial files included via AJAX controllers had no access to globally-defined variables without explicit guards</li></ul>