Skip to content

Magento 2.4.8 Uncaught Error: cannot call methods on collapsible prior to initialization; attempted to call method ‘forceDeactivate’

I am facing following error on live site magento 2

Magento 2.4.8 Uncaught Error: cannot call methods on collapsible prior to initialization; attempted to call method ‘forceDeactivate’
Uncaught Error: cannot call methods on collapsible prior to initialization; attempted to call method ‘forceDeactivate’
https://test.com/static/frontend/Smartwave/porto_child/en_US/jquery.js
https://test.com/static/frontend/Smartwave/porto_child/en_US/jquery/ui-modules/widget.js
https://test.com/static/frontend/Smartwave/porto_child/en_US/jquery.js
https://test.com/static/frontend/Smartwave/porto_child/en_US/jquery.js
https://test.com/static/frontend/Smartwave/porto_child/en_US/jquery/ui-modules/widget.js
https://test.com/static/frontend/Smartwave/porto_child/en_US/mage/tabs.js

but on local same things are not error happening

NOTE: when a customer login then issue happens otherwise no issue

enter image description here