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
Angela PetrozziAngela Petrozzi 

How do I fix a component error?

Users have been receiving a component error, however as System Admin role I don't run into this error. Any ideas on how I can fix this error for other users?

A component error has occured: Invalid definition for null:Proposal_Request_Distribution__mdt[]: Access to entity 'Proposal_Request_Distribution__mdt'denied

Any help would be much appreciated!
Angel Robles MAngel Robles M
It could be that this is related to the winter 20 release?
Please check this release notes link i'm posting below, it seems like you have to grant access to specific user profiles if Lightning components or visualforce are directly referencing custom metadata types.
Winter 20 Release Note, specific to custom metadata type permissions:
Hi Angela,
Go to the profile for which user you . are getting the issue and provide the access on the above custom metadata.
This could solve it.
Mark as best if it works.