It seems that you have added the shopping cart widget somewhere to filters area in Appearance -> Widgets https://gyazo.com/59bee4e97d6a1aa46791f32e414589ef
Try to review all your widgets areas and be sure that the shopping cart widget is not added there.
Okay, I get it! I have made an impeachment for every plugin installed 🙂 and it was the caching plugin after deactivated the broken code has been back to its normal state.
I’ll try to check what gets broken when activating the cache plugin again.