function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Lightning component not loading Just Keeps Spinning

I have a custom lightning component in my custom community that just keeps trying to load with the spinning icon and not get past that point.

User-added image
This same lightning component works in our sandbox so i'm not sure how to resolve this issue in my production org.
mukesh guptamukesh gupta
Hi Bobp,

This type of issue may be related to dependeicies, suppose you created custom fileds or custom label  and these are missed due to deployment.
or your apex class code may be overrite by anther one.

you can open prodution and debub log and then refresh this component then you can get error if any  

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.


Hi Mukesh,

I'm still reviewing custom fields and custom labels. I did run a debug log but it doesn't give me much infomration

Log54.0 APEX_CODE,FINEST;APEX_PROFILING,FINEST;CALLOUT,FINEST;DB,FINEST;NBA,INFO;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,INFO;WORKFLOW,FINER 09:59:25.0 (198161)|USER_INFO|[EXTERNAL]|0055b00000PXB27||(GMT-04:00) Eastern Daylight Time (America/New_York)|GMT-04:00 09:59:25.0 (242201)|EXECUTION_STARTED 09:59:25.0 (256653)|CODE_UNIT_STARTED|[EXTERNAL]|apex://advic_fsl_AppointmentBooking/ACTION$checkAccountEligibility 09:59:25.0 (719548)|CODE_UNIT_FINISHED|apex://advic_fsl_AppointmentBooking/ACTION$checkAccountEligibility 09:59:25.0 (736765)|EXECUTION_FINISHED 09:59:25.1 (1708780)|CUMULATIVE_PROFILING_BEGIN 09:59:25.1 (1708780)|CUMULATIVE_PROFILING|No profiling information for SOQL operations 09:59:25.1 (1708780)|CUMULATIVE_PROFILING|No profiling information for SOSL operations 09:59:25.1 (1708780)|CUMULATIVE_PROFILING|No profiling information for DML operations 09:59:25.1 (1708780)|CUMULATIVE_PROFILING|No profiling information for method invocations 09:59:25.1 (1708780)|CUMULATIVE_PROFILING_END