CodepadME / laravel-tricks

The source code for the Laravel Tricks website
http://laravel-tricks.com
MIT License
966 stars 298 forks source link

Valet Installation problem #96

Open alpanango opened 7 years ago

alpanango commented 7 years ago

I am installing this into a valet 7.1 and after doing all the configuration I get this error.

Symfony \ Component \ Debug \ Exception \ FatalErrorException Uncaught TypeError: Argument 1 passed to Illuminate\Exception\WhoopsDisplayer::display() must be an instance of Exception, instance of Error given, called in /Volumes/Others/valet/tricks/vendor/laravel/framework/src/Illuminate/Exception/Handler.php on line 279 and defined in /Volumes/Others/valet/tricks/vendor/laravel/framework/src/Illuminate/Exception/WhoopsDisplayer.php:43 Stack trace: #0 /Volumes/Others/valet/tricks/vendor/laravel/framework/src/Illuminate/Exception/Handler.php(279): Illuminate\Exception\WhoopsDisplayer->display(Object(Error)) #1 /Volumes/Others/valet/tricks/vendor/laravel/framework/src/Illuminate/Exception/Handler.php(158): Illuminate\Exception\Handler->displayException(Object(Error)) #2 /Volumes/Others/valet/tricks/vendor/laravel/framework/src/Illuminate/Exception/Handler.php(169): Illuminate\Exception\Handler->handleException(Object(Error)) #3 [internal function]: Illuminate\Exception\Handler->handleUncaughtException(Object(Error)) #4 {main} thrown open: /Volumes/Others/valet/tricks/vendor/laravel/framework/src/Illuminate/Exception/WhoopsDisplayer.php

/**
 * Display the given exception to the user.
 *
 * @param  \Exception  $exception
 * @return \Symfony\Component\HttpFoundation\Response
 */
public function display(Exception $exception)
{
    $status = $exception instanceof HttpExceptionInterface ? $exception->getStatusCode() : 500;

Tried all auto-dump , but dont know what is the problems are. Please help me.