
Remove all but one content element from your trigger definition. See trgr:trigger-data-event, or "Using Triggers to Spawn Actions" in the Application Developer's Guide.
The value for the "when" part of a trigger definition is not one of "pre-commit" or "post-commit". For example, trgr:trigger-data-event was called with a "when" parameter that was not created by calling trgr:post-commit or trgr:pre-commit.
Correct your code. For details, see "Using Triggers to Spawn Actions" in the Application Developer's Guide.