Doktrini Hata "Geçersiz ifade bulunamadı"

0 Cevap php

Ben tarafından tanımlanan bir tablo var:

Modification:
    columns:
        id:
            type: integer
            primary: true
            autoincrement: true
        name: string
        author: string

    attributes:
        export: all

Bu kodu çalıştırdığınızda:

$tbl = new Doctrine_Table(
                          'Modifications',
                           Doctrine_Manager::getInstance()
                                             ->getCurrentConnection()
                           );
$tbl->findOneBy('name', 'yacoby');

Ben bu hatayı alıyorum:

Doctrine_Table_Exception: Invalid expression found: ()n()a()m()e() /home/yacoby/documents/dev/netbeans/php/Doctrine/Table.php:2741 /home/yacoby/documents/dev/netbeans/php/Doctrine/Table.php:1707 /home/yacoby/documents/dev/netbeans/ESSearch/test/library/Search/Table/ModsTest.php:21

Herkes neden ve ne yapabilirim bunu düzeltmek için herhangi bir fikir var mı?

0 Cevap