This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

[day13 ] Call to undefined method

Discussion around this tutorial for symfony 1.2-1.4

[day13 ] Call to undefined method

by parsival7 » Wed Aug 31, 2011 4:37 pm

I try to use:
> symfony guard:promote fabien
but I've some problem
Code: Select all
Fatal error: Call to undefined method SfGuardUserPeer::retrieveByUsername() in F
:\wamp\www\sfproject2\plugins\sfGuardPlugin\lib\task\sfGuardCreateAdminTask.clas
s.php on line 56

Call Stack:
    0.0004     324064   1. {main}() F:\wamp\www\sfproject2\symfony:0
    0.0131     585304   2. include('F:\wamp\www\sfproject2\lib\vendor\symfony\li
b\command\cli.php') F:\wamp\www\sfproject2\symfony:14
    1.6292    6346320   3. sfSymfonyCommandApplication->run() F:\wamp\www\sfproj
ect2\lib\vendor\symfony\lib\command\cli.php:20
    1.6354    6347960   4. sfTask->runFromCLI() F:\wamp\www\sfproject2\lib\vendo
r\symfony\lib\command\sfSymfonyCommandApplication.class.php:76
    1.6357    6348176   5. sfBaseTask->doRun() F:\wamp\www\sfproject2\lib\vendor
\symfony\lib\task\sfTask.class.php:97
    2.7766    6421016   6. sfGuardPromoteSuperAdminTask->execute() F:\wamp\www\s
fproject2\lib\vendor\symfony\lib\task\sfBaseTask.class.php:68


parsival7
Junior Member
 
Posts: 3
Joined: Tue Aug 30, 2011 7:05 am