enter image description here
`<?php
use IlluminateHttpRequest;
define(‘LARAVEL_START’, microtime(true));
// Determine if the application is in maintenance mode…
if (file_exists($maintenance = DIR.’/../storage/framework/maintenance.php’)) {
require $maintenance;
}
// Register the Composer autoloader…
require DIR.’/../vendor/autoload.php’;
// Bootstrap Laravel and handle the request…
(require_once DIR.’/../bootstrap/app.php’)
->handleRequest(Request::capture());`
i have created a login register page and i have redirect it to the layout.blade.php and when i run the command “php artisan serve” it shows the Illegal offset type.
`