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
AndrewNerneyAndrewNerney 

No profiling information for SOQL operations in Community

We have a Lightning Component that we are using in a Community. It was working fine until a couple days ago. It has stopped displaying information, and I can't figure out what change we may have made to cause this. When viewing the Community as a System Administrator, everything works as expected. When viewing the Community as one of the regular users, we get the following info in the Debug Logs. Any help here?

50.0 APEX_CODE,FINEST;APEX_PROFILING,FINEST;CALLOUT,FINEST;DB,FINEST;NBA,FINE;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,FINEST;WORKFLOW,FINER
16:20:00.0 (349485)|USER_INFO|[EXTERNAL]|00555000006MRYn|implementations+harsha@zpaper.com|(GMT-04:00) Eastern Daylight Time (America/New_York)|GMT-04:00
16:20:00.0 (384180)|EXECUTION_STARTED
16:20:00.0 (390248)|CODE_UNIT_STARTED|[EXTERNAL]|apex://CommunityCaseDisplayController/ACTION$getCaseComments
16:20:00.0 (3067989)|CODE_UNIT_FINISHED|apex://CommunityCaseDisplayController/ACTION$getCaseComments
16:20:00.0 (3084168)|EXECUTION_FINISHED
16:20:00.4 (4133397)|CUMULATIVE_PROFILING_BEGIN
16:20:00.4 (4133397)|CUMULATIVE_PROFILING|No profiling information for SOQL operations
16:20:00.4 (4133397)|CUMULATIVE_PROFILING|No profiling information for SOSL operations
16:20:00.4 (4133397)|CUMULATIVE_PROFILING|No profiling information for DML operations
16:20:00.4 (4133397)|CUMULATIVE_PROFILING|No profiling information for method invocations
16:20:00.4 (4133397)|CUMULATIVE_PROFILING_END
Best Answer chosen by AndrewNerney
AndrewNerneyAndrewNerney
And I found the problem. Someone had removed access to the controller CommunityCaseDisplayController from several of the user profiles.

I wonder if I can choose my own response as Best Answer? Bahahahaha.

All Answers

AndrewNerneyAndrewNerney
And I found the problem. Someone had removed access to the controller CommunityCaseDisplayController from several of the user profiles.

I wonder if I can choose my own response as Best Answer? Bahahahaha.
This was selected as the best answer
AndrewNerneyAndrewNerney
Hey I can vote for myself!
Shriram Dubey 20Shriram Dubey 20
Yes @AndrewNerney, Generally we get the No profiling error if we have created a new class or have any existing and not given the access of the class to the non admin profile because for no need to give permisson for class and will work fine for admin user.