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
NM AdminNM Admin 

User is not able to access Case from Support Central. Getting error “Error: Error occurred while loading a Visualforce page”

Hi All,

I am getting an error while accessing the Case from the support central portal  “Error: Error occurred while loading a Visualforce page”.

Please find te below screen shot for the reference:
User-added image

I checked below things for this:
1. total size of attachments on case is within 10Mb
2. I see ‘Description’ field on Case Detail page was too long.

Will it be the reason  behind this? If then what we can do to achieve this?

Welcome to your suggestions!

Thanks in advance!

Regards,
Nilesh
AbhishekAbhishek (Salesforce Developers) 
Hi,

Are you passing any Id?

Try passing id like this> in your URL after /apex/vfpagename?id='any valid account id in your org here'

For further reference, you can check the below blog,

https://salesforce.stackexchange.com/questions/38723/error-occurred-while-loading-a-visualforce-page-at-site-com/177918


I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.

Thanks.
NM AdminNM Admin
@Abhishek Thanks for the reply  already checked with this blog but still facing issue.

Please do let me know if there are any other ways to ahieve this.

Regards,
Nilesh