<h4>Newsfeed Like Button Fix</h4><ul><li><strong>Fixed:</strong> Like button not working (not updating visually) — the success callback called sendNotification() BEFORE updating the button HTML. If sendNotification threw an error (e.g. socket io not connected), the visual update at lines 2253-2258 never executed. Reordered: visual update happens first, then notification send is wrapped in try/catch. Also added safe JSON parsing with try/catch to prevent $.parseJSON failures from breaking the handler.</li></ul>