Answers.Body: <p>Fixed. I downloaded fresh copies of OAuth and Video plug-ins. Re-uploaded to server and it's all working.</p>
  
  <p>I guess something got missed or corrupted in the initial upload.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-03T13:14:24.893Z
Answers.LastActivityDate: 2015-04-03T13:14:24.893Z
Answers.UserDisplayName: Tim Print
Body: <p>My site is working fine with dukt videos on local and staging but I am getting an error on any page with a dukt video field. Error is on the front end and the dashboard.</p>
  <blockquote>
  <p><strong>Internal Server Error</strong></p>
  <p>Argument 1 passed to Composer\Autoload\ClassLoader::addClassMap() must be of the type array, integer given, called in /homepages/15/d322782150/htdocs/nailcote-craft/craft/plugins/videos/vendor/composer/autoload_real.php on line 38 and defined</p>
  </blockquote>
  <p>I've emailed support directly but in the meantime if anyone has come across this I would be glad of the help.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-03T12:07:57.433Z
Comments.Text: Seems rather strange. Would you be able to check what `$classMap` is set to? Maybe try a `var_dump($classMap)` after line 36 in autoload_real.php. Oh - and what does your `autoload_classmap.php` look like?
Comments.UserDisplayName: crawf
Tags: <plugin-duktvideos>
Title: Internal server error with Dukt video
ThreadText: # Internal server error with Dukt video
  
  (Asked by: username_0 on 2015-04-03)
  
  My site is working fine with dukt videos on local and staging but I am getting an error on any page with a dukt video field. Error is on the front end and the dashboard.
  
  > **Internal Server Error**
  >
  > Argument 1 passed to Composer\Autoload\ClassLoader::addClassMap() must be of the type array, integer given, called in /homepages/15/d322782150/htdocs/nailcote-craft/craft/plugins/videos/vendor/composer/autoload\_real.php on line 38 and defined
  
  I've emailed support directly but in the meantime if anyone has come across this I would be glad of the help.
  
  **Tags:** plugin-duktvideos
  
  > **Comments:**
  > **username_1**: Seems rather strange. Would you be able to check what `$classMap` is set to? Maybe try a `var_dump($classMap)` after line 36 in autoload_real.php. Oh - and what does your `autoload_classmap.php` look like?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-04-03. Score: 1
  
  Fixed. I downloaded fresh copies of OAuth and Video plug-ins. Re-uploaded to server and it's all working.
  
  I guess something got missed or corrupted in the initial upload.
  
  
  ---
  
  