This seems like a basic PHP error, in the code you've provided, $metadata 
was never defined. Where is it created?

On Saturday, April 26, 2014 12:30:58 PM UTC-5, Denny Brandes wrote:
>
> what is wrong ?
>
>
> <?php
>
> use Doctrine\ORM\Mapping\ClassMetadataInfo;
>
> $metadata->setInheritanceType(ClassMetadataInfo::INHERITANCE_TYPE_NONE);
> $metadata->setPrimaryTable(array(
>    'name' => 'session',
>    'indexes' => 
>    array(
>    'IDX_D044D5D4A76ED395' => 
>    array(
>     'columns' => 
>     array(
>     0 => 'user_id',
>     ),
>    ),
>    'IDX_D044D5D47987212D' => 
>    array(
>     'columns' => 
>     array(
>     0 => 'app
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to