Error yang muncul

PHP Fatal error:  Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath() in /var/www/html/sastra/vendor/laravel/framework/src/Illuminate/Foundation/Console/ClearCompiledCommand.php on line 28
 
  [Symfony\Component\Debug\Exception\FatalErrorException]                             
  Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath()  
 Script php artisan clear-compiled handling the post-update-cmd event returned with an error
                                                                                                                                                            [RuntimeException]                                                                                                                                                 
  Error Output: PHP Fatal error:  Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath() in /var/www/html/sastra/vendor/laravel/framewo  
  rk/src/Illuminate/Foundation/Console/ClearCompiledCommand.php on line 28

atau

 [Symfony\Component\Debug\Exception\FatalErrorException]                             
  Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath()

Solusinya hapus file vendor/compiled.php

Leave a comment

Your email address will not be published. Required fields are marked *