Title: Error information.
Last modified: August 21, 2016

---

# Error information.

 *  Resolved [Duh sa sekirom](https://wordpress.org/support/users/duh-sa-sekirom/)
 * (@duh-sa-sekirom)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/)
 * Hi, i was install this plugin. and when i try to open my site on the top i have
   a see this error:
 * Warning: array_key_exists() [function.array-key-exists]: The second argument 
   should be either an array or an object in /home/dubaipor/public_html/wp-content/
   plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.php on
   line 224
 * Please help em how can i solve this problem.
    Thank`s
 * [https://wordpress.org/plugins/video-embed-thumbnail-generator/](https://wordpress.org/plugins/video-embed-thumbnail-generator/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683286)
 * Thanks for bringing this to my attention. I think it’s caused by a user role 
   on the site that has no capabilities assigned to it which I hadn’t anticipated.
   I’ll fix it in the next version of the plugin, which will be released pretty 
   soon. If you want to do it yourself, change line 224 from
 * `if ( array_key_exists('upload_files', $role_info['capabilities']) && $role_info['
   capabilities']['upload_files'] == 1 ) {`
 * to
 * `if ( is_array($role_info['capabilities']) && array_key_exists($capability, $
   role_info['capabilities']) && $role_info['capabilities'][$capability] == 1 ) {`
 *  Thread Starter [Duh sa sekirom](https://wordpress.org/support/users/duh-sa-sekirom/)
 * (@duh-sa-sekirom)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683291)
 * Thank`s for answer Kyle, i have change this but i have a next error:
 * Parse error: syntax error, unexpected T_ELSE in /home/dubaipor/public_html/wp-
   content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.
   php on line 227
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683294)
 * Sounds like there’s a typo in your change somewhere. It might be a missing `{`
   or an extra one. I’ve verified that what I posted works. If you can’t find the
   problem, copy and paste a few lines from that area of the code so I can debug
   it. Make sure you put the code between `backticks`.
 *  Thread Starter [Duh sa sekirom](https://wordpress.org/support/users/duh-sa-sekirom/)
 * (@duh-sa-sekirom)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683295)
 * Thank`s Kyle, i fixed.
 *  Thread Starter [Duh sa sekirom](https://wordpress.org/support/users/duh-sa-sekirom/)
 * (@duh-sa-sekirom)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683299)
 * Hi, Kyle. Please i need a just one help.
 * Please tell me how is possible to maike video player, with this plugin i don`
   t know wher i need to put this my code:
 *     ```
       <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="480" height="385">
       <param name="movie" value="http://92.55.68.1:86/nchplayer.swf?host=92.55.68.1:1935&scope=BroadCam&streamName=live&bandwidth=1&src=1&autostart=true&redirect=&textOnOver=">
       <param name="allowfullscreen" value="true">
       <param name="quality" value="high">
       <embed src="http://92.55.68.1:86/nchplayer.swf?host=92.55.68.1:1935&scope=BroadCam&streamName=live&bandwidth=1&src=1&autostart=true&redirect=&textOnOver=" width="480" height="385" allowfullscreen="true" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"/>
       </object>
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 * This is first time for me. Tjhank’s.
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683300)
 * My plugin uses a shortcode to embed HTML5 videos. Whatever you’re doing with 
   that object code is not going to work with this plugin.
 *  Thread Starter [Duh sa sekirom](https://wordpress.org/support/users/duh-sa-sekirom/)
 * (@duh-sa-sekirom)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683301)
 * Hi, Kyle. this is my streaming link : [http://92.55.68.1:86/live.html?src=1](http://92.55.68.1:86/live.html?src=1).
   
   Is possible to use with your plugin.
 * Thank`s
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683302)
 * You don’t need a plugin for that. Just paste your code in the “text” tab in the
   post edit window and it should work fine.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error information.’ is closed to new replies.

 * ![](https://ps.w.org/video-embed-thumbnail-generator/assets/icon.svg?rev=2965979)
 * [Videopack](https://wordpress.org/plugins/video-embed-thumbnail-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-embed-thumbnail-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/error-information/#post-4683302)
 * Status: resolved