There are three possibilities, maybe even all three together.
1. Food
The food will need to start decomposing before it breaks down to ammonia so you may not have waited long enough yet.
2. Bacteria
Did the filter media become totally dry or did it stay even just damp while you redid the tank? We now know that filter bacteria can live in media that's damp, it doesn't need to be in water all the time. And the bacteria don't die in 24 hours without food as used to be thought, they go dormant then die months later.
It could well be that you have a lot, if not all, the bacteria still alive in the filter. You will have lost the bacteria that were in the biofilm on the tank walls, and in the old substrate and on the old plants but there are probably some left in the filter.
3. Plants
You also mention plants - are they live plants? Plants use ammonia as fertiliser, so they would take up any ammonia made by the decomposing food.
If you do have live plants, and a good number of them and they are actively growing, they will take up ammonia faster than the 'filter' bacteria. In this scenario, wait till you are sure the plants are growing well, then add the first batch of fish.