Tracked down a bug and fixed it. The debugger was of no help.
The problem was an out of date constant which should have been replaced with a variable but I missed it in one spot.
While looking in entirely the wrong part of the code for that, I also ended up removing a couple dozen lines of code that could be replaced with 4.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!