Undefined Index on line 222 of ACL.php
In my case, this was caused by disabling a group of custom fields. Look for a blank spot in the "Which Data" column to show you which one it is. There are two ways to solve this: 

Solution 1: Re-enable the custom data group.
or
Solution 2: Remove the offending ACL rule.