Skip to content

Instantly share code, notes, and snippets.

@Spechal
Created July 24, 2013 18:40
Show Gist options
  • Select an option

  • Save Spechal/6073252 to your computer and use it in GitHub Desktop.

Select an option

Save Spechal/6073252 to your computer and use it in GitHub Desktop.
Route::controller('login', 'LoginController');
Route::post('login', array('before' => 'csrf', 'LoginController@postIndex'));
Error:
call_user_func_array() expects parameter 1 to be a valid callback, no array or string given
open: /laravel/bootstrap/compiled.php
$this->callAfterFilters($request, $response);
}
return $response;
}
protected function callCallable()
{
$variables = array_values($this->getParametersWithoutDefaults());
return call_user_func_array($this->getOption('_call'), $variables); ### error is on this line
}
protected function callBeforeFilters(Request $request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment