Deleted Tag ID still visible in Lookup field

Hi everyone,

I’m currently using PHPMaker 2025.11 and I’ve encountered a problem with a Lookup field:

I have a tags table, and I assign tags to contacts using a Lookup field in the contacts table (configured as a Select dropdown). Everything works fine when creating and assigning tags.

However, when I delete a tag from the tags table (for example, tag with ID 39), it is not removed from the contacts table. Instead of the tag name disappearing or becoming empty, the ID (e.g., 39) is shown as plain text in the contact’s tag field.

What would be the best way to handle this situation?

If you have enabled Use Lookup Cache, try delete the cache under the log/cache/result subfolder. Note that if you delete records from the lookup table manually (not through generated scripts), the cache will not be invalidated automatically.