Saving Error - failed to insert entry: invalid object specified

Hello everyone!

I am experiencing a persistent error whenever I try to save any project in PHPMaker (it occurs in both the 2025 and the newly installed 2026 versions).

Although the saving process completes, the following error message appears every time I save:

failed to insert entry: invalid object specified - nome_arquivo.pmp

Key Details:

  1. The file nome_arquivo.pmp is not the current project.

  2. It refers to an old file that no longer exists on my computer.

  3. The error persists even when creating and saving a new, empty project, suggesting a global configuration issue rather than a problem with the project's .pmp file.


My suspicion: There is a corrupted reference (extension, template, or user configuration) that PHPMaker attempts to "insert" into its internal registry upon every save, resulting in the invalid object failure.

Has anyone encountered and resolved this specific global reference issue? Any help is appreciated!

It is a Git error. Your git repo for backup might be corrupted. You may try:

  1. Back up all your project in the backup folder (C:\Users\<user>\Documents\PHPMaker\Backup) first.
  2. Delete the git folder for backup (C:\Users\<user>\Documents\PHPMaker\Backup\.git). Note that this will delete all the backup history, so make sure you have done step 1.
  3. Re-open PHPMaker and try again.