• manuvbkk
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
This error seems to be an odd one in that seems to happen when loading a visualforce page first time each day. This page is accessed from a community portal. Subsequent attempts to access the page loads fine, its only the first time each day that we have noticed this.
 
System.VisualforceException : Dependent class is invalid and needs recompilation: Class ClassName : SELECT AccountId, Account.RecordType.Name FROM User ^ERROR at Row:1:Column:19Didn't understand relationship 'Account' in field path.

We tried saving the class here but there are no compilation errors.

Anyone faced seomthing like this before?