Membership 2 issue updating settings

When trying to specify memberships for menu items protection there's a sniping animation and the option is not saved.
Checking browser console, there's a 500 internal error right after the option is selected:
See image.