Zend certified PHP/Magento developer

Call to a member function isGlobalScopeEnabled() on null

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": "httpsu003u002Fu002Fdevu003A16443u002Fpubu002Fstaticu002Ffrontendu02u00u00Su00u0loaderu002D1.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