ESC portal errors on header widget script when Content Publishing is older than July '25 release and EC is newer than JulyDescriptionThis error can occur when there is a mismatch between versions of Employee Center and Content Publishing store applications installed. Recently there has been an update to Employee Center that relies on a script that only exists in newer Content Publishing versions. If Content Publishing is not installed at all, this script is not used and no error occurs, but if an old version of Content Publishing is installed, this issue may occur. The script is called "cd_CompanyEventCacheManager". If Content Publishing is v36 or higher, the issue should not occur as that is when the script is introduced.Steps to Reproduce 1. Install latest Employee Center app or any version >= 38.0.5 (July '25 version)2. Install an older Content Publishing version prior to July '25, such as 33.0.133. Go to /esc and observe errors on the portalExpected: there should not be errors accessing cd_CompanyEventCacheManager() script include even if Content Publishing is not up to the latest version.WorkaroundThe simplest and lowest risk solution would be to update BOTH Employee Center and Content Publishing to the latest versions possible. As long as Content Publishing is v36 or greater, this issue should not occur. If for whatever reason this isn't possible, follow these steps to make a code customization that circumvents the issue: 1. Find the portal header where this issue is occuring, table is sp_header_footer, sys_id is typically d0009941eb103010ed7966d6475228c1 but may be different if this was cloned2. In the Server script field, replace these lines (old): var companyEventCacheManager = new sn_cd.cd_CompanyEventCacheManager(); if (showHighTrafficEventModal && typeof companyEventCacheManager.getCurrSurgeEvents !== "undefined") { data.currSurgeEventsCache = companyEventCacheManager.getCurrSurgeEvents(); data.userAuthorizedEvents = new sn_cd.cd_CompanyEvents().getUserAuthorizedEvents(); } with these lines (new): try { var companyEventCacheManager = new sn_cd.cd_CompanyEventCacheManager(); var companyEvents = new sn_cd.cd_CompanyEvents(); } catch (e) {} if (showHighTrafficEventModal && companyEvents && companyEventCacheManager && typeof companyEventCacheManager.getCurrSurgeEvents !== "undefined") { data.currSurgeEventsCache = companyEventCacheManager.getCurrSurgeEvents(); data.userAuthorizedEvents = companyEvents.getUserAuthorizedEvents(); } Additionally, replace the following lines (old): if (pageId === data.companyEventPageId && articleId) { var surgeEventInfo = new sn_cd.cd_CompanyEvents().getSurgeEventInfo(articleId); with these lines (new): if (pageId === data.companyEventPageId && articleId && companyEvents) { var surgeEventInfo = companyEvents.getSurgeEventInfo(articleId);Related Problem: PRB1967753