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
Michelle Reiss-TopMichelle Reiss-Top 

Community users can't edit Contact Name - Get np02 error

When Community users try to edit Contact record Name field they get this error:

Error:Apex trigger npo02.Households caused an unexpected exception, contact your administrator: npo02.Households: execution of AfterUpdate caused by: line 270, column 43: Dependent class is invalid and needs recompilation: (npo02) (npo02) (npo02) npo02.BATCH_OppRollup: line 55, column 77: Dependent class is invalid and needs recompilation: npo02.opportunityrollup_utilities: line 166, column 41: sObject type 'FiscalYearSettings' is not supported.
This appears to be happening only with Community users.

1. Login to Mission Promise community as user 
2. Navigate to a Contact
3. Edit Name. 
4. Click Save
Expected Result: Contact record saves with new last name.
Actual Result: Contact record does not save and user given error message: Error:Apex trigger npo02.Households caused an unexpected exception, contact your administrator: npo02.Households: execution of AfterUpdate caused by: line 270, column 43: Dependent class is invalid and needs recompilation: (npo02) (npo02) (npo02) npo02.BATCH_OppRollup: line 55, column 77: Dependent class is invalid and needs recompilation: npo02.opportunityrollup_utilities: line 166, column 41: sObject type 'FiscalYearSettings' is not supported.

I'm not a developer, so hoping the fix does not require one. Not getting any help from Salesforce.com tech support. "np" is NPSP, NonProfit Starter Pack and is managed by Salesforce.org.

Thanks,

Michelle

VineetKumarVineetKumar
There has some change in your org, causing your trigger compilation for become obselete.
Please edit and save the po02.Households trigger without any change, it will show you the error.
Christian Dylan CarterChristian Dylan Carter
Hi Michelle, sorry for not seeing this earlier. Would you mind posting this question over on the Power of Us HUB? It's at https://powerofus.force.com. If you post it over in the Nonprofit Starter Pack group in that community, you'll be in a group with a lot of the NPSP developers and support resources who can help out.