Uh, I forgot to write the module. Its K2ExtraOrder. When I enable the plugin it does this.
I have narrow the window for the problem.
It occurs only when used with jEvents K2 redirecting.
Now I got this error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 0)) WHERE m.published = 1 AND module = 'mod_k2_eo' LIMIT 1' at line 1
The plugin redirect the link to the actual K2 item and not the Event layout.
When clicking on K2 link regular it opens with no problems.