<h4>News Module Fixes</h4><ul><li><strong>Fixed:</strong> Enabled error_reporting(E_ALL) in NewsController.php and insert_update.php — both were suppressing errors. Also fixed insert_update.php using BASEPATH_ before autoloader (swapped require order).</li><li><strong>Fixed:</strong> Undefined variables after extract() in multiple methods — $newsmodid, $webmod, $page, $NewsCategoryID, $NewsItemID, $news_item_id_fk, $loadMore, $filterBy, $searchNews. Added null coalescing defaults for all.</li><li><strong>Fixed:</strong> Commented-out $tblsiteConfig in getPageHTMLJS() causing null array access — uncommented the DB lookup.</li><li><strong>Fixed:</strong> file_get_contents on missing template file — added file_exists() check.</li><li><strong>Fixed:</strong> $domainsite_params undefined in 4 view files (categories.php, links.php, images.php, videos.php) — added global declaration.</li><li><strong>Fixed:</strong> htmlspecialchars() null deprecation in table_news.php — added ?? "".</li><li><strong>Fixed:</strong> Undefined $MainCover in table_news.php — added ?? "".</li></ul><p>All 14 endpoints + global endpoints pass with 0 errors.</p>