I have just updated my magento version from 2.4.0 to 2.4.6 and i am getting this error on frontend.Please suggest any solution. Also i have custom theme but i am not getting why this error is occuring. Any leads would be highly appreciated.
<div id="authenticationPopup" data-bind="scope:'authenticationPopup', style: {display: 'none'}">
<script>window.authenticationPopup = {"autocomplete":"off","customerRegisterUrl":"https:\/\/dev\/customer\/account\/create\/","customerForgotPasswordUrl":"https:\/\/dev\/customer\/account\/forgotpassword\/","baseUrl":"https:\/\/dev\/","customerLoginUrl":"https:\/\/dev\/customer\/ajax\/login\/"}</script> <!-- ko template: getTemplate() --><!-- /ko -->
<script type="text/x-magento-init">
{
"#authenticationPopup": {
"Magento_Ui/js/core/app": {"components":{"authenticationPopup":{"component":"Magento_Customer\/js\/view\/authentication-popup","children":{"messages":{"component":"Magento_Ui\/js\/view\/messages","displayArea":"messages"}}}}} },
"*": {
"Magento_Ui/js/block-loader": "https\u003\u002F\u002Fdev\u003A16443\u002Fpub\u002Fstatic\u002Ffrontend\u02\u00\u00S\u00\u0loader\u002D1.gif"
Error: Call to a member function isGlobalScopeEnabled() on null in /home/websites/hollywoo/dev/public_html/vendor/magento/module-customer/view/frontend/templates/account/authentication-popup.phtml:26