New Jersey abandoned their red-light camera laws after ticket challenges involving yellow-light lengths. The length should be proportional to the posted speed limit (e.g. 5.5 seconds for 50 mph), but many lights were found to have incorrect timing (e.g. 2.5 seconds for 50 mph).
Also, I think at that time some questionable arrangements surfaced between the operators of the automated ticketing system(s) and the towns and/or counties involved.