Did anything change between yesterday and today? ie upgrade, add javascript, change the pages, activate the community, etc.
Is there custom javascript on the pages? If so, do the pages work without it? If so, there is likely a problem with the custom javascript on your page.
Hi Stephen,
Yes I did activate the community this morning, do you think that would cause issues? I’m not sure why that would affect the already active sandbox community though.
My page does have a small amount of javascript, but again this was working in the sandbox before this morning.
Thanks!
Eulogio
What does the Javascript do?
Do the pages work without any of it? Absolutely scrapped, do your pages load?
The page loads fine within our internal Salesforce, but won’t for the Community. I removed the javascript and it still does not load in Community.
I’m adding a screenshot of the browser console’s output, hope this helps.
And this error pops up in the Lightning Community Builder:
Uncaught TypeError: Cannot read property ‘call’ of null throws at https://thebroadcenter–live.na6.force.com/community/s/sfsites/auraFW/javascript/3KyQDB-eIhcEnQ6yyIrd0A/aura_prod.js:15:28081
Make sure in your new environment (production?) you click Generate Page Support Files on your skuid pages that contain javascript. It’s always a good idea to do that anytime you copy a page over to a new environment from a sandbox.
Thanks for the advice Chandra, I’ve one ahead and generated the support files. What do I do now?
Is this the error you’re seeing after you’ve removed all javascript from the page?
What are you seeing for your pages themselves when a user tries to access the community? We need much more detail to be able to help
Yes, the error still shows if I remove the js.
Here is a screenshot of what users see in the Community. It simply doesn’t show.
The Skuid table should be showing below the text blurb.
Does the end user have permission to see the page? Has it been set to public? We see this from time to time relating to permissions. Considering you suddenly can’t see it after activation, this is a likely culprit worth exploring.
Is it a detail page or something attached to an object? The permissions will need to be set to public if it is a public community
The Skuid page isn’t embedded in a Visualfore page, I’m using the Skuid Community Builder component to embed in my community. Is there some ‘Public’ setting I have to do for this? It was working fine in the sandbox community I had before I tried moving to production.
Below is what it should look like. Again, it’s a pretty straightforward table of info, nothing too fancy about it. It is pulling Contact info.
Is the text in a Skuid page? What is your lightning page builder looking like?
Many times, you actively have to go give permission to be able to see certain objects in community. If the table is on an object that doesn’t have permissions, the end user won’t see it.
No the text isn’t on a Skuid page. The only thing that is Skuid is the table shown in the pic above. See this pic for the Community Builder I’m using:
This page also throws the following error:
Uncaught TypeError: Cannot read property 'call' of null throws at https://thebroadcenter--live.na6.force.com/community/s/sfsites/auraFW/javascript/3KyQDB-eIhcEnQ6yyIrd0A/aura_prod.js:15:28081
I made sure that Contact permissions are enabled. We have another Community that is active that functions correctly with our permissions, but this is the first time we’re trying to add a Skuid component to this.
After you generate the Page Support Files for your pages, those pages should be usable in Lightning.
Hi Zach,
I generated the support file and that removes the error messages, but nothing actually shows up on the page still. Do you think it has anything to do with the gatherer.js script? I notice that the resource URLs it is referring to are incorrect. For example:
https://thebroadcenter.force.com/resource/skuid__IconsSVG
This gives me a 503 error. But if I use the correct Community path:
https://thebroadcenter.force.com/community/resource/skuid__IconsSVG
This downloads the resources correctly. I wonder if this other URL is having similar troubles with the links not pointing to the correct path:
https://thebroadcenter.force.com/community/s/inlineresources.js
What do you think?
Thanks!
Eulogio
Hi Eulogio,
It sounds like generating the support files was a necessary step, but there’s another unresolved issue to understand. Would you mind telling us your current Skuid release #, and whether you’ve recently upgraded?
Also, in Chrome’s developer tools, sometimes I can find out more information by looking in the Network tab for resources that didn’t load, or returned an error. If you can share anything that doesn’t look like a ‘200’ that’d be helpful too.
Hi Mark,
We are currently on 11.2.7. I updated from 11.2.2 this week in hopes of fixing this Community issue.
Using the Network tab, the only non-200 message I see is the one I referenced in the comments above - 503: https://thebroadcenter.force.com/community/resource/skuid__IconsSVG
One thing I’m seeing though is that the page will continuously make a request to aura?r=361&skuid.SkuidLightning.checkNetwork=1&auraXhr=true. It looks like each request returns the following:
- while(1); {actions: n{id: “224;a”, state: “ERROR”, returnValue: null,…}],…}
- actions:<{id: “224;a”, state: “ERROR”, returnValue: null,…}]
- 0:{id: “224;a”, state: “ERROR”, returnValue: null,…}
- error:r{message: “An internal server error has occurred↵Error ID: 425490117-22284 (500961252)”}]
- 0:{message: “An internal server error has occurred↵Error ID: 425490117-22284 (500961252)”}
- message:“An internal server error has occurred↵Error ID: 425490117-22284 (500961252)”
- id:“224;a”
- returnValue:null
- state:“ERROR”
- context:{mode: “PROD”, app: “siteforce:communityApp”, contextPath: “/community/s/sfsites”,…}
- app:“siteforce:communityApp”
- contextPath:“/community/s/sfsites”
- enableAccessChecks:true
- fwuid:“H9Yiy9uuE9726-4_PM7fkQ”
- globalValueProviders:s{type: “$SObjectType”, values: {,…}}, {type: “$Locale”,…}, {type: “$Browser”,…},…]
- 0:{type: “$SObjectType”, values: {,…}}
- type:“$SObjectType”
- values:{,…}
- CurrentUser:{isChatterEnabled: true, Email: “communitytester@mailinator.com”, Id: “0058000000Fw1C9”}
- Email:“communitytester@mailinator.com”
- Id:“0058000000Fw1C9”
- isChatterEnabled:true
- 1:{type: “$Locale”,…}
- type:“$Locale”
- values:{userLocaleLang: “en”, userLocaleCountry: “US”, language: “en”, country: “US”, variant: “”,…}
- country:“US”
- currency:“$”
- currencyCode:“USD”
- currencyFormat:“¤#,##0.00;(¤#,##0.00)”
- dateFormat:“MMM d, yyyy”
- datetimeFormat:“MMM d, yyyy hss a”
- decimal:“.”
- dir:“ltr”
- firstDayOfWeek:1
- grouping:“,”
- isEasternNameStyle:false
- labelForToday:“Today”
- langLocale:“en_US”
- language:“en”
- nameOfMonths:i{fullName: “January”, shortName: “Jan”}, {fullName: “February”, shortName: “Feb”},…]
- 0:{fullName: “January”, shortName: “Jan”}
- fullName:“January”
- shortName:“Jan”
- 1:{fullName: “February”, shortName: “Feb”}
- fullName:“February”
- shortName:“Feb”
- 2:{fullName: “March”, shortName: “Mar”}
- fullName:“March”
- shortName:“Mar”
- 3:{fullName: “April”, shortName: “Apr”}
- fullName:“April”
- shortName:“Apr”
- 4:{fullName: “May”, shortName: “May”}
- fullName:“May”
- shortName:“May”
- 5:{fullName: “June”, shortName: “Jun”}
- fullName:“June”
- shortName:“Jun”
- 6:{fullName: “July”, shortName: “Jul”}
- fullName:“July”
- shortName:“Jul”
- 7:{fullName: “August”, shortName: “Aug”}
- fullName:“August”
- shortName:“Aug”
- 8:{fullName: “September”, shortName: “Sep”}
- fullName:“September”
- shortName:“Sep”
- 9:{fullName: “October”, shortName: “Oct”}
- fullName:“October”
- shortName:“Oct”
- 10:{fullName: “November”, shortName: “Nov”}
- fullName:“November”
- shortName:“Nov”
- 11:{fullName: “December”, shortName: “Dec”}
- fullName:“December”
- shortName:“Dec”
- 12:{fullName: “”, shortName: “”}
- fullName:“”
- shortName:“”
- nameOfWeekdays:<{fullName: “Sunday”, shortName: “SUN”}, {fullName: “Monday”, shortName: “MON”},…]
- 0:{fullName: “Sunday”, shortName: “SUN”}
- fullName:“Sunday”
- shortName:“SUN”
- 1:{fullName: “Monday”, shortName: “MON”}
- fullName:“Monday”
- shortName:“MON”
- 2:{fullName: “Tuesday”, shortName: “TUE”}
- fullName:“Tuesday”
- shortName:“TUE”
- 3:{fullName: “Wednesday”, shortName: “WED”}
- fullName:“Wednesday”
- shortName:“WED”
- 4:{fullName: “Thursday”, shortName: “THU”}
- fullName:“Thursday”
- shortName:“THU”
- 5:{fullName: “Friday”, shortName: “FRI”}
- fullName:“Friday”
- shortName:“FRI”
- 6:{fullName: “Saturday”, shortName: “SAT”}
- fullName:“Saturday”
- shortName:“SAT”
- numberFormat:“#,##0.###”
- percentFormat:“#,##0%”
- timeFormat:“hss a”
- timezone:“America/Los_Angeles”
- userLocaleCountry:“US”
- userLocaleLang:“en”
- variant:“”
- zero:“0”
- 2:{type: “$Browser”,…}
- type:“$Browser”
- values:{containerVersion: “”, isWEBKIT: true, isIE11: false, formFactor: “DESKTOP”, isWindowsTablet: false,…}
- S1Features:{isOfflineEnabled: true, isNativePrimingEnabled: true, areOfflineDraftsEnabled: false,…}
- areOfflineDraftsEnabled:false
- calendarAnythingAllowed:true
- forceReloadRecordForInlineEdit:false
- homeAssistantCollapseCards:false
- isAccountLogoEnabled:false
- isAccountSuggestionsEnabled:false
- isAiEverywhereEnabled:true
- isAsyncSaveEnabled:false
- isAuraParallelBootstrapLoadEnabled:true
- isEclairAdvancedFeaturesEnabled:false
- isEinsteinBuilderEnabled:false
- isEinsteinBuilderLicenseEnabled:false
- isEinsteinBuilderPrefEnabled:false
- isEinsteinBuilderStartedPrefEnabled:false
- isEinsteinEverywhereEnabled:false
- isEinsteinMsaAcceptedEnabled:false
- isEncryptedStorageEnabled:true
- isEnhancedTemplatesEnabled:false
- isFilesSharingPrivacyEnabled:true
- isFlexipageActionSchedulingEnabled:true
- isFlexipageDeprecatedRendererEnabled:false
- isForceRefreshViewEnabled:false
- isLVMInAppBuilderEnabled:true
- isLeadScoreSetupV3:false
- isLightningConsoleSplitViewEnabled:false
- isListViewGroupShareEnabled:true
- isMultiUserOrgEnabled:true
- isNativePrimingEnabled:true
- isOfflineEnabled:true
- isOfflineQuickActionDraftsEnabled:false
- isPersonAccountsApiLightningEnabled:false
- isPersonAccountsEnabled:false
- isS1RecordInlineEditEnabled:false
- isSFXInlineEditListViewEnabled:true
- isSFXLastViewedListEnabled:false
- isSFXUrlFormatSupported:false
- isSocialInsightsLogoAdmin:false
- isTaskListViewsDisabled:false
- isTodayPreviewEnabled:false
- isUitrkLoggingEnabled:true
- lightningTransitionCompleted:false
- lightningTransitionLexWelcomeMatPopupSeen:false
- orgHasEinsteinInsightsEnabled:false
- orgHasLightningLiveAgent:false
- orgHasMatchedLeadsEnabled:false
- recordChangeCapture:false
- sfxRecordPreviewsOff:false
- shouldRedirectToLexAndShowWelcomeMat:false
- shouldShowEinsteinInsightsHome:false
- showTaskInfoPopover:true
- useACTRecordLayoutForCustomObjects:false
- useACTRecordLayoutForEdit:false
- useACTRecordLayoutForStandardObjects:false
- useAntiPopcorn:false
- useLexiCallbackReturnUrl:true
- useLightningLegacyUrl:false
- useLightningReportBuilder:false
- useNativeScroller:true
- useNewReportRunPage:false
- useRaptorAlohaPage:false
- containerVersion:“”
- formFactor:“DESKTOP”
- isAndroid:false
- isBlackBerry:false
- isContainer:false
- isDesktop:true
- isFIREFOX:false
- isIE6:false
- isIE7:false
- isIE8:false
- isIE9:false
- isIE10:false
- isIE11:false
- isIOS:false
- isIPad:false
- isIPhone:false
- isOSX:false
- isPhone:false
- isTablet:false
- isWEBKIT:true
- isWindowsPhone:false
- isWindowsTablet:false
- 3:{type: “$SfdcSite”, values: {pathPrefix: “/community”}}
- type:“$SfdcSite”
- values:{pathPrefix: “/community”}
- pathPrefix:“/community”
- 4:{type: “$ComponentLibrary”, values: {isDSC: false}}
- type:“$ComponentLibrary”
- values:{isDSC: false}
- isDSC:false
- 5:{type: “$LightningContainer”,…}
- type:“$LightningContainer”
- values:{communityPrefix: “/community”, containedContentHost: “null--c.container.lightning.com”}
- communityPrefix:“/community”
- containedContentHost:“null--c.container.lightning.com”
- 6:{type: “$Global”, values: {eswConfigDeveloperName: {writable: true, defaultValue: “”},…}}
- type:“$Global”
- values:{eswConfigDeveloperName: {writable: true, defaultValue: “”},…}
- appContextId:{writable: true, defaultValue: “”}
- defaultValue:“”
- writable:true
- dynamicTypeSize:{writable: true, defaultValue: “”}
- defaultValue:“”
- writable:true
- eswConfigDeveloperName:{writable: true, defaultValue: “”}
- defaultValue:“”
- writable:true
- isVoiceOver:{writable: true, defaultValue: false}
- defaultValue:false
- writable:true
- setupAppContextId:{writable: true, defaultValue: “”}
- defaultValue:“”
- writable:true
- srcdoc:{writable: false, defaultValue: false}
- defaultValue:false
- writable:false
- loaded:{APPLICATION@markup://siteforce:communityApp: “CplQAHHeSzLHwfzt5CIKgQ”,…}
- APPLICATION@markup://siteforce:communityApp:“CplQAHHeSzLHwfzt5CIKgQ”
- COMPONENT@markup://Framework:PicklistInputField:“z9quNNix3a_0k3D9xRg_Ug”
- COMPONENT@markup://Framework:UrlUtil:“GHaMc9dB67Z-VEtkzGywDg”
- COMPONENT@markup://LTE:ConferenceEvent:“qi4-iqbv6HxIiE9NCP-iSA”
- COMPONENT@markup://LTE:EventMainView:“0iM-jKYreNiPF6aovJbf8w”
- COMPONENT@markup://LTE:EventOverview:“mRk6YFQDN9UIvBbT2DFQ5A”
- COMPONENT@markup://LTE:EventRegistrationWrapper:“ZEIUSRj1QNab7LbYKkocOw”
- COMPONENT@markup://LTE:EventWrapper:“FF3dWPMdsemApxco5Nwstw”
- COMPONENT@markup://LTE:ManageMyRegistration:“pv_-5fHqlfKx_j3Wc-vNpg”
- COMPONENT@markup://LTE:RegistrationProcessStep:“xHt9loxCrjNwXnFYCxHU6w”
- ls:1
- mna:{lightning: “interop”}
- lightning:“interop”
- mode:“PROD”
- pathPrefix:“/community”
- services:M“markup://lightning:configProvider”, “markup://force:wireServiceSfdc”]
- 0:“markup://lightning:configProvider”
- 1:“markup://force:wireServiceSfdc”
- perfSummary:{version: “core”, request: 76, actions: {224;a: {total: 20, db: 5}}, actionsTotal: 20, overhead: 0}
- actions:{224;a: {total: 20, db: 5}}
- 224;a:{total: 20, db: 5}
- db:5
- total:20
- actionsTotal:20
- overhead:0
- request:76
- version:“core”
It looks to me that this gatherer.js script is having trouble connecting properly. Am I reading this correctly?
Thanks!
Eulogio
Hi Eulogio. I am not familiar with the purpose of gatherer.js myself, but I have a Lightning Community set up in one of my orgs. I can see errors when using SVG icons (see screenshot below) but this is not breaking my setup.
It sounds like there is another relevant piece to the puzzle that we haven’t identified yet. Are you able to try using a different Skuid page in this community, perhaps starting with the simplest possible? See if that loads as expected. If so, add things in little by little until your test page resembles the affected page, to see if you can identify what is causing the issue.
Or an alternate method would be to comment out certain elements of your page XML one by one to see if you can determine which one affects whether the page loads. And, if you’re comfortable sharing the page XML here, I can see if it causes similar issues in my org (I’ll have to remove custom fields and objects).
Thanks for the response Mark. I created a Skuid page with only a title, and this will not load in my Community. I’ve tried logging in as a standard user and as a community user and neither has worked for me. Here is a screenshot of what I’m seeing:
Hi Eulogio, I wanted to close the loop on this issue in the community. What do you suppose finally fixed the issue for you? Our recommendations were to 1) reset your Chrome profile, 2) disable your extensions to see which one might be interfering and 3) make sure Chrome is up to date.
It was definitely the Chrome profile. When I used a browser that didn’t have my specific profile it worked fine. There must have been some extension tied to my profile that was causing the issue. Thanks for all of your support on this.