<ul><li>CRITICAL fix: Removed getHtml() call from document.ready in custom_js.php — function called wrong controller (about.controller.php instead of news) and called mainHtmlEditor.getDoc() before CodeMirror editor was initialized (mainHtmlEditor was still empty string) causing Uncaught TypeError on every page load</li><li>HIGH fix: Added typeof guard to all 4 .getDoc() calls (mainHtmlEditor, mainJSEditor, mainHeaderEditor) — prevents crash if editor not yet initialized</li><li>HIGH fix: Wrapped JSON.parse(response) in try/catch in getHtml() to prevent crash on malformed/warning-prefixed responses</li><li>Backup: custom_js-bk-v3.php</li></ul>