Small addition, the error was in Macaroon_bars, also around line 400-450-ish, on the check if a button is nill.

It happened on MacaroonBars2 for me