Codes are 1189 and 1188, will not pass inspection, what are these codes? on 2000 BMW 323i

The codes my car is pulling are 1189 and 1188. Was told by two mechanics that I need a cat converter, the one yesterday said nothing is wrong with it. Has new air mass flow, fuel filter, O2 sensors but still not passing inspection. Any help appreciated

Asked by for the 2000 BMW 323i
The codes refer to fuel trim limits. The computer is trying to enrich and lean out the fuel system to compensate for something. It could be about a dozen different things. The car will need to be properly diagnosed by a knowledgeable technician.