16. ErrorException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Store.php199
15. Illuminate\Exception\Handler handleError
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Store.php199
14. Illuminate\Session\Store mergeNewFlashes
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Store.php173
13. Illuminate\Session\Store reflash
…/­vendor/­laravel/­framework/­src/­Illuminate/­Support/­Facades/­Facade.php174
12. Illuminate\Support\Facades\Facade __callStatic
…/­app/­controllers/­UsersController.php13
11. Illuminate\Support\Facades\Session reflash
…/­app/­controllers/­UsersController.php13
10. UsersController index
<#unknown>0
9. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controllers/­Controller.php138
8. Illuminate\Routing\Controllers\Controller callMethod
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controllers/­Controller.php115
7. Illuminate\Routing\Controllers\Controller callAction
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php985
6. Illuminate\Routing\Router Illuminate\Routing\{closure}
<#unknown>0
5. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php80
4. Illuminate\Routing\Route callCallable
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php47
3. Illuminate\Routing\Route run
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1016
2. Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php530
1. Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php506
0. Illuminate\Foundation\Application run
…/­public/­index.php49

ErrorException

Argument 1 passed to Illuminate\Session\Store::mergeNewFlashes() must be of the type array, null given, called in /var/www/laravelforum/Forum/vendor/laravel/framework/src/Illuminate/Session/Store.php on line 173 and defined

 
	/**
	 * Merge new flash keys into the new flash array.
	 *
	 * @param  array  $keys
	 * @return void
	 */
	protected function mergeNewFlashes(array $keys)
	{
		$values = array_unique(array_merge($this->get('flash.new'), $keys));
 
	/**
	 * Merge new flash keys into the new flash array.
	 *
	 * @param  array  $keys
	 * @return void
	 */
	protected function mergeNewFlashes(array $keys)
	{
		$values = array_unique(array_merge($this->get('flash.new'), $keys));
	/**
	 * Reflash all of the session flash data.
	 *
	 * @return void
	 */
	public function reflash()
	{
		$this->mergeNewFlashes($this->get('flash.old'));
 
		$this->put('flash.old', array());
	public static function __callStatic($method, $args)
	{
		$instance = static::resolveFacadeInstance(static::getFacadeAccessor());
 
		switch (count($args))
		{
			case 0:
				return $instance->$method();
 
			case 1:
	/**
	 * Display a listing of the resource.
	 *
	 * @return Response
	 */
	public function index()
	{
		Session::reflash();
		return View::make('users.userCreateForm');
	}
	/**
	 * Display a listing of the resource.
	 *
	 * @return Response
	 */
	public function index()
	{
		Session::reflash();
		return View::make('users.userCreateForm');
	}
<#unknown>
	 *
	 * @param  string  $method
	 * @param  array   $parameters
	 * @return mixed
	 */
	protected function callMethod($method, $parameters)
	{
		return call_user_func_array(array($this, $method), $parameters);
	}
 
		// after filters on the controller to wrap up any last minute processing.
		$response = $this->callBeforeFilters($router, $method);
 
		$this->setupLayout();
 
		if (is_null($response))
		{
			$response = $this->callMethod($method, $parameters);
		}
 
			// We will extract the passed in parameters off of the route object so we will
			// pass them off to the controller method as arguments. We will not get the
			// defaults so that the controllers will be able to use its own defaults.
			$args = array_values($route->getParametersWithoutDefaults());
 
			$instance = $ioc->make($controller);
 
			return $instance->callAction($ioc, $me, $method, $args);
		};
	}
<#unknown>
	 *
	 * @return mixed
	 */
	protected function callCallable()
	{
		$variables = array_values($this->getParametersWithoutDefaults());
 
		return call_user_func_array($this->getOption('_call'), $variables);
	}
 
		// We will only call the router callable if no "before" middlewares returned
		// a response. If they do, we will consider that the response to requests
		// so that the request "lifecycle" will be easily halted for filtering.
		$response = $this->callBeforeFilters($request);
 
		if ( ! isset($response))
		{
			$response = $this->callCallable();
		}
 
		// Once we have the route, we can just run it to get the responses, which will
		// always be instances of the Response class. Once we have the responses we
		// will execute the global "after" middlewares to finish off the request.
		else
		{
			$this->currentRoute = $route = $this->findRoute($request);
 
			$response = $route->run($request);
		}
 
		if ($this->isDownForMaintenance())
		{
			$response = $this['events']->until('illuminate.app.down');
 
			if ( ! is_null($response)) return $this->prepareResponse($response, $request);
		}
		
		return $this['router']->dispatch($this->prepareRequest($request));
	}
 
	/**
	 * Handles the given request and delivers the response.
	 *
	 * @return void
	 */
	public function run()
	{
		$response = $this->dispatch($this['request']);
 
		$this['router']->callCloseFilter($this['request'], $response);
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful applications we have created for them.
|
*/
 
$app->run();
 
/*
Key Value
REDIRECT_STATUS 200
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_REFERER http://forum.ericmeerstra.ca/categories/1/subcategories/10/posts/create
HTTP_HOST forum.ericmeerstra.ca
PATH /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE <address>Apache/2.4.6 (Ubuntu) Server at forum.ericmeerstra.ca Port 80</address>
SERVER_SOFTWARE Apache/2.4.6 (Ubuntu)
SERVER_NAME forum.ericmeerstra.ca
SERVER_ADDR 192.241.234.221
SERVER_PORT 80
REMOTE_ADDR 54.165.248.212
DOCUMENT_ROOT /var/www/laravelforum/Forum/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/laravelforum/Forum/public
SERVER_ADMIN webmaster@forum.ericmeerstra.ca
SCRIPT_FILENAME /var/www/laravelforum/Forum/public/index.php
REMOTE_PORT 56288
REDIRECT_URL /users
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /users
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711657274.626
REQUEST_TIME 1711657274
empty
empty
empty
empty
Key Value
_sf2_attributes Array ( [_token] => YPg35IvZcsFxxft6XuHRDidwHqwzhFHY6LFCR9wH )
_sf2_flashes Array ( )
_sf2_meta Array ( [u] => 1711657274 [c] => 1711657274 [l] => 7200 )
empty
0. Whoops\Handler\PrettyPageHandler