Skip to content

Error when using method find() #3

Description

@ronnyandre

When trying out your example, I get an error when trying to loop with the $user->find() method.

Unhandled Exception

Message:

Method [find] is not defined.
Location:

bundles/mongor/model.php on line 458
Stack Trace:

#0 application/routes.php(39): Mongor\Model->__call('find', Array)
#1 application/routes.php(39): Dbtable->find()
#2 [internal function]: {closure}()
#3 laravel/routing/route.php(163): call_user_func_array(Object(Closure), Array)
#4 laravel/routing/route.php(124): Laravel\Routing\Route->response()
#5 laravel/laravel.php(167): Laravel\Routing\Route->call()
#6 public/index.php(34): require('/..')
#7 {main}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions