Skip to content

Magento 2 : Error of cookieMessagesObservable is not defined

I have updated the Magento to 2.4.7 recently and updated it to the staging server. I am getting the error that cookieMessagesObservable is not defined in the console and due to this Minicart is not accessible to me and several js are also not loading due to it.

Check the below image for the reference:-
Console Error