Issue currently with fermentation

Today is bottling day for a batch of pale ale I made about three weeks ago. As I went to move the fermenter today I noticed that a thick layer of suds ( like soap) have formed along the top of the beer and that it is no longer clear as it was about a week ago. I have let the beer sit in the primary for three weeks with no plans on moving to a secondary. I am stumped as to what’s going on.

Any help would be appreciated.

How does it smell/taste?

I’d say taste it. If it’s good bottle it and drink it quick because if it is an infection it will only get worse.