I replanted it in the same pot with new soil, which includes plant food. Around a week after I did this, some of the leaves started turning yellow. Since I got this plant about 3 years ago, it came with flowered already grown. Since that first year, it has not flowered.
Yellowing leaves can be due to watering issues, to much or to little.
Make sure the plant is not water logged, it should dry out between watering.
Also using distilled water or leaving the water to sit out on the counter 48 hours before using will help.
Optimizing the plants growing conditions can help with re blooming, but sometimes it is difficult to get the Peace Lily to rebloom.
Here are some links with more information.
https://www.gardeningknowhow.com/houseplants/peace-lily/peace-lily-leaves-yellow-brown.htm
https://www.gardeningknowhow.com/plant-problems/environmental/overwatering-container-plants.htm
https://www.gardeningknowhow.com/houseplants/peace-lily/peace-lily-blooming.htm
3 y/o peace lily: after over watering and repotting in fall, found black rot between close leaf stem (deep in soil). It's November. Presently treating for fungus gnats. It was drooping when I repotted it. Can it be saved?
Peace Lily can be difficult to recover from over watering if it is not corrected right away.
The link below give a great tutorial for helping with root rot.
https://www.gardeningknowhow.com/plant-problems/disease/treating-root-rot-gardening-tips-for-housplants.htm
https://www.gardeningknowhow.com/houseplants/peace-lily/peace-lily-plants.htm
Why are our peace lily flowers turning brown around the edge?
This could be a build up of calcium in the soil.
Here is a link with more information.
https://www.gardeningknowhow.com/houseplants/peace-lily/peace-lily-leaves-yellow-brown.htm
My recently acquired peace lily's "flowers" (the white cover) have tuned brown. What is the cause, and do I have to cut them off? If so, where do I cut?
When your flower fades you can cut it back down to the plant base.
Here is some links to help refresh you on the care requirements.
https://www.gardeningknowhow.com/houseplants/peace-lily/peace-lily-plants.htm
https://www.gardeningknowhow.com/houseplants/peace-lily/peace-lily-blooming.htm
My Peace lily is flowering beautifully but I have a couple of white leaves with the flowers on the same stem. The leaf grew with he flower inside it, then they separated.
This is an event I have seen quite often on Peace Lily plants.
It is an anomaly with pretty results!
https://www.gardeningknowhow.com/houseplants/peace-lily/peace-lily-plants.htm
What causes the leaves and the blooms on the peace lily to turn yellow?
There can be a few issues that cause yellowing leaves.
Here is an article the will refresh you on the care requirements and help determine the cause.
https://www.gardeningknowhow.com/houseplants/peace-lily/peace-lily-leaves-yellow-brown.htm
The top of the plant is virtually gone. I just unpotted it. Roots look awesome. What do I do?
Here is a link to refresh you on the care requirements of an Anthurium plant.
https://www.gardeningknowhow.com/houseplants/anthurium/anthurium-care.htm