It isn’t that Rebel Wilson lost the ability to be funny.

It’s that someone believes the lead in the film can’t be goofy.

Anna Camp, center, is the bride in "Bride Hard." Rebel Wilson plays her maid of honor. Bride Hard Films

In “Bride Hard,” she’s the one who pitches the set-up while someone else gets to nail the laugh.

That’s a writing problem — one that could easily be corrected.

Early on, she gets the goofy moments. Then we discover she’s a secret agent trying to get out of attending a friend’s wedding. She begs off, then gets pulled in and put to work.

Anna Camp, her “Pitch Perfect” co-star, plays the bride; Wilson is the longtime bestie.

Bridal party: From left, Anna Chlumsky, Anna Camp, Gigi Zumbado, Rebel Wilson and Da'Vine Joy Randolph in "Bride Hard." Bride Hard Films

See Full Page