I wondered if you’d manage to identify if there’s a problem with the Social Warfare plugin and Litespeed? There’s no rush, it’s just that I’m still trying to troubleshoot this issue on my own site.
I’ve done some further checking. The code I included above is generated when Social Warfare is set to ‘Legacy Caching’. When set to ‘Advance Cache Triggering’ no errors are generated but the share counts still fail to update.