Skip to content


DDC-631: XMLDriver $metadata->table['indexes'] undefined #5141

doctrinebot opened this Issue · 2 comments

1 participant


Jira issue originally created by user frantisek.troster:


I've been playing with Doctrine2 XML definitions and was testing indexes:



which caused a PHP Warning: Illegal offset type in XmlDriver.php on line 112:

$metadata->table['indexes'][$index['name']] = array(
'columns' => $columns

It seems $metadata->table['indexes'] is undefined although it should be an array. I'm not sure if the problem is in the definition, please let me know if you need whole XML entity definition or more details.


Comment created by @beberlei:

This was fixed with this commit on 13. June already, it is therefore in Beta2 already.


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-BETA2 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.