Looking at those screw terminal blocks gives me the willies. I would start checking there.
Just as a clarification on the macerator pumps, 'MyOtherBoat" has a pump and macerator built into the base of the head and a 2nd macerator pump mounted behind a panel aft, not in the holding tank
You mentioned that you had the tank pumped out. If that worked and you have a Y valve, to pump overboard the valve has to be turned to the other to work. Granted, the pump will run ( make noise) but the tank won't get drained.
I am not sure that the Y valve is mandatory but if you have one, the law requires you to either lock it or fix in in some other way so that you can not dump overboard by mistake. In my neck of the woods, if you get boarded within the 3 mile limit and they want to be picky, not having the overboard valve off and locked can result in a summons and fine.