<p dir="auto">Database: DB2<br>
Symfony version 2.2:</p>
<p dir="auto">It is failing in class aclProvider.php with undefined index ancestor_id. Dynamic SQL statement has "ANCESTOR_ID" , whereas in aclProvider.php, it is defined as "ancestor_id".</p>
<p dir="auto">Srinivasa Varrey</p>
<p dir="auto">I'm trying to extend the DateType in order to create a widget with only Year/Month (it's for a credit card expiration date). I couldn't set the DateType options to show only those 2 fields, so I tried to extend it. But when I use my new type, it throws this error:</p>
<p dir="auto">Expected argument of type "\DateTime", "array" given<br>
500 Internal Server Error - UnexpectedTypeException</p>
<p dir="auto">This gist has the code used:<br>
<a href="https://gist.github.com/990f5ea03c5f3f137861">https://gist.github.com/990f5ea03c5f3f137861</a></p>