<ul><li>Restored all 9 commented-out CRUD actions in insert_update.php (addNewsCategory, updateNews, updateNewsCategory, getNews, getNewsCategory, deleteNews, deleteNewsCategory, addNewsLink, updateNewsLink) — entire CRUD system was dead code</li><li>Fixed DateAdded column: changed date("l, F d, Y") to date("Y-m-d H:i:s") — was sending invalid datetime string to MySQL DATETIME column</li><li>Fixed ItemTags column: added required NOT NULL field to addNews insert array to prevent MySQL strict mode violation</li><li>Fixed integer FK columns (NewsCategoryID_fk, AuthorID, siteid_fk, NewsModuleID_fk, SortOrder): all now cast to int with 0 fallback instead of empty string — resolves MySQL strict mode "Incorrect integer value" errors</li><li>Fixed siteid_fk resolution: added DB lookup fallback from domain_tblnm_news using NewsModuleID_fk when session lacks YPSiteLinkID</li><li>Fixed hardcoded legacy path /var/www/vhosts/beta.wwbn.com/websites in deleteNewsImage and deleteNewsVideo: changed to BASEPATH_ . ([field] ?? "")</li><li>Fixed N+1 query in list_news_categories.php: replaced per-row DB lookup for parent category name with pre-built lookup array</li><li>Fixed N+1 query in getTableNewsCategory (insert_update.php): same pre-built lookup pattern</li><li>Fixed extract($authorData) null safety in news_modals.php: added !empty() guard before extract()</li><li>Fixed ItemUrl undefined array key warning: changed to ["ItemUrl"] ?? "" in list_news_data.php and insert_update.php</li><li>Enabled error_reporting(E_ALL) in legacy admin file inc_announcementsmanager_admin.php (was suppressed)</li><li>getNews and getNewsCategory now return proper JSON with Content-Type: application/json header</li><li>CRUD verified: addNews=ADD_OK, updateNews=UPDATE_OK, deleteNews=DELETE_OK, addNewsCategory=ADD_OK, updateNewsCategory=UPDATE_OK, deleteNewsCategory=DELETE_OK, getNews=valid JSON, getNewsCategory=valid JSON</li><li>Playwright QA: 0 JS errors, 0 network failures — all tabs and modals captured (legacy and new)</li><li>Screenshots: legacy_announcements_stories_tab.png, legacy_announcements_categories_tab.png, new_announcements_stories_tab.png, new_announcements_categories_tab.png, new_announcements_modal_add_story.png, new_announcements_modal_add_category.png, new_announcements_modal_update_story.png, new_announcements_modal_file_management.png</li><li>Backup created: insert_update-bk-v1.php</li></ul>