How many gallons is the system? Are you able to do a couple massive water changes? Ie replace just about all of the water...The tank is about two years old, it started with dry and a few seed live rocks, no sand.
About the phosphates, I even dosed them for a few months when nitrates measured in the 30-50 with a salifert test, I dosed about 0.02 a day and regularly measured with the tropic marin test kit. There was no nitrate reduction and in the end I also tried adding a bit of carbon dosing (diy nopox) and got a huge cyanobacteria bloom.
My guess then was the the cyanobacteria was using the phosphate more efficiently than the "good" bacterial population and when the tank got stable again did a chemiclean cycle followed by bacteria dosing (mb7), but the cyano came back and the nitrate remained in the 30-50 range.
Honestly I don't know what else I could try.
How about chaeto refugium in the sump with lights and phosphate dosing during the night when tank lights are off?