Doctrine_Table_Exception [ 0 ]: You must specify the value to findOneBy

FCPATH/application/third_party/doctrine/lib/Doctrine/Table.php [ 2819 ]

2814             $method = 'findOneBy';
2815         }
2816 
2817         if (isset($by)) {
2818             if ( ! isset($arguments[0])) {
2819                 throw new Doctrine_Table_Exception('You must specify the value to ' . $method);
2820             }
2821 
2822             $fieldName = $this->_resolveFindByFieldName($by);
2823             $count = count(explode('Or', $by)) + (count(explode('And', $by)) - 1);
2824             if (count($arguments) > $count)
  1. FCPATH/application/controllers/authors.php [ 21 ] » Doctrine_Table->__call(arguments)

  2. FCPATH/application/controllers/authors.php [ 21 ] » Doctrine_Table->findOnebySlug(arguments)

  3. FCPATH/system/core/CodeIgniter.php [ 339 ] » Authors->detail()

  4. FCPATH/index.php [ 203 ] » require_once(arguments)

Environment