title: Copied Laravel project getting 500 server error
body: <p>I copied a laravel project including all of its recursive file permissions. Then I loaded it to a sub domain on plesk server. I installed all the dependencies using plesk's application interface. I was getting an error regarding the cipher and key so I changed the app_key to SomeRandomStringWith32Characters. I also am getting an error when I run artisan saying " PHP fatal error: uncaught reflection exception: class log does not exist in /var/www/vhosts/domain/subdomain/bootstrap/cache/compiled.php:1291". then it lists the stack trace listing #0-4. </p>
  
  <p>Additionally I have configured the .htaccess file in my public folder to look like this</p>
  
  <pre><code>&lt;Limit GET POST PUT DELETE&gt;
  #For REST support
         Allow from all
   &lt;/Limit&gt;
  
  &lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options -MultiViews
      &lt;/IfModule&gt;
  
      RewriteEngine On
      RewriteBase / # &lt;------------ This one you missed
  
      #Just to redirect to www.site.com when only site.com comes
       RewriteCond %{HTTP_HOST} !^www\. [NC]
       RewriteRule ^(.*)$ http://www.%{HTTP_HOST} [R=301,L]
      #end of codes
  
      # Redirect Trailing Slashes...
      RewriteRule ^(.*)/$ /$1 [L,R=301]
  
      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I am new to laravel so any help is greatly appreciated. Thank you</p>