The compost pile contained incorrect amounts of "greens" and "browns".
The presence of aerobic bacteria indicates that oxygen is available in the compost pile, but if the correct ratio of "greens" (nitrogen-rich materials) to "browns" (carbon-rich materials) is not maintained, the pile may not heat up enough to encourage rapid decomposition. This can result in a cold compost pile that decomposes slowly. Mixing the compost pile regularly may not be enough to solve this issue if the proportions of materials are off.