Invalid Data in index on save

Hi
when i try and save the project i am getting the following error
Invalid data in index - incorrect head signature
any ideas?

It seems that your project backup data is corrupted. Did you unintentionally do something in the backup folder (default is C:\Users<user>\Documents\PHPMaker\Backup.git)?Try click Project → “Save a copy…” to save your project.If it does not work, you can try delete hidden folder C:\Users<user>\Documents\PHPMaker\Backup.git but project history will be lost. BACKUP YOUR PROJECT FIRST.

Hi
I deleted the .git folder and tired to save again with the same error.

Im having the same issue.ERROR Invalid data in index - Incorrect header signature while saving projectHow do I fix it?

Hi
i backed up the projectid then changed it, then the project would save. then changed it back and saved.

I have projects in 2022 and in 2020 and all are now throwing this error. I am unable to save any project. Save, save as, save a copy all return with “invalid data in index - incorrect header signature” The solution in this post does not work. I have deleted the .git folder and nothing has changed.

Double check your v2022 project backup files, try to open and save it, does it work?

Webmaster wrote:

If it does not work, you can try delete hidden folder
C:\Users<user>\Documents\PHPMaker\Backup.git but project history will be lost. BACKUP YOUR PROJECT FIRST.

The error “invalid data in index - incorrect header signature” means the Git data is corrupted, above should work.If not, your project might be corrupted, since you have already deleted the Git data, you cannot revert to old version by Git. You may find a backed up project in the C:\Users<user>\Documents\PHPMaker\Backup folder.If you enabled backup to Github, then you may get an older version from your Github repo.