18. ErrorException
…/­app/­storage/­views/­e9c5dfae13eab2fb14e09dac478c858710
17. Illuminate\Exception\Handler handleError
…/­app/­storage/­views/­e9c5dfae13eab2fb14e09dac478c858710
16. include
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­Engines/­PhpEngine.php38
15. Illuminate\View\Engines\PhpEngine evaluatePath
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­Engines/­CompilerEngine.php45
14. Illuminate\View\Engines\CompilerEngine get
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­View.php100
13. Illuminate\View\View getContents
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­View.php81
12. Illuminate\View\View render
…/­vendor/­laravel/­framework/­src/­Illuminate/­Http/­Response.php70
11. Illuminate\Http\Response setContent
…/­vendor/­symfony/­http-foundation/­Symfony/­Component/­HttpFoundation/­Response.php139
10. Symfony\Component\HttpFoundation\Response __construct
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1414
9. Illuminate\Routing\Router prepare
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controllers/­Controller.php156
8. Illuminate\Routing\Controllers\Controller processResponse
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controllers/­Controller.php126
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.php576
1. Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php552
0. Illuminate\Foundation\Application run
…/­public_html/­index.php49

ErrorException

Undefined variable: data

 
	<h2><?php echo \Illuminate\Support\Facades\Lang::get('site.question_form_title'); ?></h2>
 
	<p class="form-body-text"><?php echo nl2br(Lang::get('site.question_form_body')); ?></p>
 
	<div class="form-group" id="topic">
		<label for="topic_input"><?php echo \Illuminate\Support\Facades\Lang::get('site.question_topic'); ?></label>
		<?php echo Form::select('topic', $data['topics'], null, array('id' => 'topic_input', 'class' => 'js-select-options-text-wrap form-control input-lg' )); ?>
	</div>
 
 
	<h2><?php echo \Illuminate\Support\Facades\Lang::get('site.question_form_title'); ?></h2>
 
	<p class="form-body-text"><?php echo nl2br(Lang::get('site.question_form_body')); ?></p>
 
	<div class="form-group" id="topic">
		<label for="topic_input"><?php echo \Illuminate\Support\Facades\Lang::get('site.question_topic'); ?></label>
		<?php echo Form::select('topic', $data['topics'], null, array('id' => 'topic_input', 'class' => 'js-select-options-text-wrap form-control input-lg' )); ?>
	</div>
 
		extract($__data);
 
		// We'll evaluate the contents of the view inside a try/catch block so we can
		// flush out any stray output that might get out before an error occurs or
		// an exception is thrown. This prevents any partial views from leaking.
		try
		{
			include $__path;
		}
		catch (\Exception $e)
		if ($this->compiler->isExpired($path))
		{
			$this->compiler->compile($path);
		}
 
		$compiled = $this->compiler->getCompiledPath($path);
 
		return $this->evaluatePath($compiled, $data);
	}
 
	/**
	 * Get the evaluated contents of the view.
	 *
	 * @return string
	 */
	protected function getContents()
	{
		return $this->engine->get($this->path, $this->gatherData());
	}
 
		// We will keep track of the amount of views being rendered so we can flush
		// the section after the complete rendering operation is done. This will
		// clear out the sections for any separate views that may be rendered.
		$env->incrementRender();
 
		$env->callComposer($this);
 
		$contents = $this->getContents();
 
		// Once we've finished rendering the view, we'll decrement the render count
		}
 
		// If this content implements the "RenderableInterface", then we will call the
		// render method on the object so we will avoid any "__toString" exceptions
		// that might be thrown and have their errors obscured by PHP's handling.
		elseif ($content instanceof RenderableInterface)
		{
			$content = $content->render();
		}
 
     * @param array  $headers An array of response headers
     *
     * @throws \InvalidArgumentException When the HTTP status code is not valid
     */
    public function __construct($content = '', $status = 200, $headers = array())
    {
        $this->headers = new ResponseHeaderBag($headers);
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
	 *
	 * @param  mixed  $value
	 * @param  \Illuminate\Http\Request  $request
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function prepare($value, Request $request)
	{
		if ( ! $value instanceof SymfonyResponse) $value = new Response($value);
 
		return $value->prepare($request);
	protected function processResponse($router, $method, $response)
	{
		$request = $router->getRequest();
 
		// The after filters give the developers one last chance to do any last minute
		// processing on the response. The response has already been converted to a
		// full Response object and will also be handed off to the after filters.
		$response = $router->prepare($response, $request);
 
		$this->callAfterFilters($router, $method, $response);
		// used we will assume we want to just return the layout view as any nested
		// views were probably bound on this view during this controller actions.
		if (is_null($response) and ! is_null($this->layout))
		{
			$response = $this->layout;
		}
 
		return $this->processResponse($router, $method, $response);
	}
 
			// 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
PHPRC /home/triviums/domains/dev.triviums.lv/fcgi-bin/../etc/php5
SCRIPT_FILENAME /home/triviums/domains/dev.triviums.lv/public_html/index.php
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
PWD /home/triviums/domains/dev.triviums.lv/fcgi-bin
SHLVL 0
PHP_FCGI_MAX_REQUESTS 99999
HTTP_CONNECTION close
SCRIPT_NAME /index.php
REQUEST_URI /en/-question/create
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /en/-question/create
REMOTE_PORT 42106
SERVER_ADMIN root@localhost
CONTEXT_DOCUMENT_ROOT /home/triviums/domains/dev.triviums.lv/public_html
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/triviums/domains/dev.triviums.lv/public_html
REMOTE_ADDR 34.236.152.203
SERVER_PORT 443
SERVER_ADDR 192.168.11.32
SERVER_NAME triviums.lv
SERVER_SOFTWARE Apache/2.4.6
SERVER_SIGNATURE
HTTP_HOST triviums.lv
HTTP_REFERER http://triviums.lv/en/-question/create
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
SSL_TLS_SNI triviums.lv
HTTPS on
SCRIPT_URI https://triviums.lv/en/-question/create
SCRIPT_URL /en/-question/create
UNIQUE_ID Zfl879vnzgNh@QtqzxFatwAAAA8
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI triviums.lv
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://triviums.lv/en/-question/create
REDIRECT_SCRIPT_URL /en/-question/create
REDIRECT_UNIQUE_ID Zfl879vnzgNh@QtqzxFatwAAAA8
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710849263.6773
REQUEST_TIME 1710849263
empty
empty
empty
empty
Key Value
_sf2_attributes Array ( [_token] => ZnkNkbFuHa7uQJ3OO9707g7IaI1gZviSaMOUkWEe )
_sf2_flashes Array ( )
_sf2_meta Array ( [u] => 1710849263 [c] => 1710849263 [l] => 7200 )
empty
0. Whoops\Handler\PrettyPageHandler