Too many goals are tracked

I have a problem with goals. At the moment too many goals are tracked with Matomo even if the site ID doesn’t have any goals. I have checked it with the log files of the Apache webserver. There is something wrong.

When a wrong goal is tracked the flag is not showed in the report an the date is back in 2012. The other visits have the right date.

I use the PHP tracking API and the newest version of Matomo.

What can I do to fix it? Thanks for your help.