Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Bug With Model crud
  • Hello i use fuelphp 1.4 when i use this in my controler 

    Model_Info::find('all', array('order_by'=> array('_table', 'desc')));

    I have a error :

    ErrorException [ Error ]: Unsupported operand types

    COREPATH/classes/model/crud.php @ line 195

  • HarroHarro
    Accepted Answer
    That is ORM syntax, not Model_Crud syntax.

    In Model_Crud, find() is an implicit "all" query, it only accepts an array.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion