+ Start a Discussion
David Zhu 8David Zhu 8 

Visualforce Page Error: Current Version number is smaller than Previous Version number

Hi All,
We experienced a very weired issue last month. I am struggling to find the root cause.
We have a Visualforce page used by all users. This happened at mid-night EST roughly from 11:30PM to 1:00AM.
All users got an error message saying:
 
An administrator has changed the definition of page or component /apex/takecall. Refresh your page and try again
Previous version = 30. Current version = 29.”
 
This type of error message usually means a changed has been made to the page while it is in use.
We confirmed nobody changed the code during that time. Actually, the last code change was two months ago.

If you take a look of the red highlighted text, it says current version is lower than previous version. The version is reverted.

Have you every seen such problem before? Salesforce support says it is our vf page issue.

Thanks,
David
 
David Zhu 8David Zhu 8
During 11:30PM to 1:00AM, every user got the same error message every time when the page was used.
Prateek Singh SengarPrateek Singh Sengar
Hi David,
Visualforce pages have an API version as well, it is possible that someone change the api version of your visualforce page from 30 to 29. However it is strange that the last modified date on the visualforce is not reflecting that change. 

Can you please check for your instance if there was any scheduled maintenance from salesforce?
David Zhu 8David Zhu 8
Based on SFDC support, It ended up with the cause

https://success.salesforce.com/issues_view?id=a1p3A0000008fZkQAI
 
Prateek Singh SengarPrateek Singh Sengar
Thanks David. This is great info, it could help other users facing the same issue.