FatalErrorException in AuthManager.php line 294:
Call to undefined method Illuminate\Auth\SessionGuard::users()
Clase 1
16.- REST
Clase 2
17.- Crear migraciones
Clase 3
18.- Resource controllers
Clase 4
19.- Mostrar productos
Clase 5
20.- Crear productos
Clase 6
21.- Guardar productos
Clase 7
22.- Parciales y formulario de actualización datos
Clase 8
23.- Actualizar producto
Clase 9
24.- Eliminar producto
Clase 10
25.- Mostrar producto
8 comentario(s)
- if ($request->method() == 'OPTIONS') {
- return (new Route('OPTIONS', $request->path(), function () use ($methods) {
- return new Response('', 200, ['Allow' => implode(',', $methods)]);
- }))->bind($request);
- }
- $this->methodNotAllowed($methods);
- }
- /
- * Throw a method not allowed HTTP exception.
- @param array $others
- * @return void
- @throws \Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
- */
- protected function methodNotAllowed(array $others)
- {
- throw new MethodNotAllowedHttpException($others);
- }
- /
- * Get routes from the collection by method.
- @param string|null $method
- * @return array
- /
- public function get($method = null)
- {
- return is_null($method) ? $this->getRoutes() : Arr::get($this->routes, $method, []);
- }
- /
- Determine if the route collection contains a given named route.
- @param string $name
- * @return bool
- */
- public function hasNamedRoute($name)
""
"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'field list' (SQL: insert intoproducts
(title
,description
,precing
,user_id
,updated_at
,created_at
) values (papas, vdffd fffv, 300, 1, 2017-09-21 13:55:37, 2017-09-21 13:55:37))
Pero me sigue dando el mismo Error: "Trying to get property of non-object" (Tratar de obtener la propiedad de no-objeto).
Clase 21