<h4>Newsfeed Insert Fixes</h4><ul><li><strong>Fixed:</strong> Undefined array key "favicon" at line 700 — $r["favicon"] accessed without existence check. Changed to !empty($r["favicon"]) check.</li><li><strong>Fixed:</strong> TPLID empty string causing MySQL integer error on insert — added DB lookup fallback in NewsFeedController constructor: when TPLID is empty, queries domain_names_sites for the tempidkey using SITELINKID. All 4 insert points now use $this->siteidkey instead of TPLID directly.</li><li><strong>Fixed:</strong> Same TPLID fallback in imageuploads.controller.php for the dropzone image upload endpoint.</li></ul>