<h4>Groups Module — ReferenceError Fix</h4><ul><li><strong>Fixed:</strong> Uncaught ReferenceError: notification is not defined — 8 occurrences across 4 files called <code>notification.sendNotification(val)</code> but <code>notification</code> object was never defined. The correct function is the global <code>sendNotification(val)</code>. Changed all 8 calls to <code>try { sendNotification(val); } catch(e) { ... }</code> with try/catch to prevent notification failures from blocking the UI flow (join group, accept member, leave group, etc.).</li></ul><p><strong>Files:</strong> groups.php (1), group_details.php (4), js.php (2), newsfeed_js.php (1)</p>