Title: straddieplastic's Replies | WordPress.org

---

# straddieplastic

  [  ](https://wordpress.org/support/users/straddieplastic/)

 *   [Profile](https://wordpress.org/support/users/straddieplastic/)
 *   [Topics Started](https://wordpress.org/support/users/straddieplastic/topics/)
 *   [Replies Created](https://wordpress.org/support/users/straddieplastic/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/straddieplastic/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/straddieplastic/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/straddieplastic/engagements/)
 *   [Favorites](https://wordpress.org/support/users/straddieplastic/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTML5 AV Manager for Wordpress] [Plugin: HTML5 AV Manager for WordPress] No video views](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/)
 *  Thread Starter [straddieplastic](https://wordpress.org/support/users/straddieplastic/)
 * (@straddieplastic)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/#post-2577547)
 * ah of course. sorry about the confusion. I’ve been trying a few !
    thanks Ben
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTML5 AV Manager for Wordpress] [Plugin: HTML5 AV Manager for WordPress] No video views](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/)
 *  Thread Starter [straddieplastic](https://wordpress.org/support/users/straddieplastic/)
 * (@straddieplastic)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/#post-2577541)
 * ah OK.
 * Here’s the notice:
 * `Notice: Undefined variable: src_attribute in /var/www/vhosts/domain.com/httpdocs/
   wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-
   wp.php on line 428 Notice: Undefined variable: type_attribute in /var/www/vhosts/
   domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/
   mediaelement-js-wp.php on line 428 Notice: Undefined variable: mp3_source in /
   var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-
   and-audio-player/mediaelement-js-wp.php on line 430 Notice: Undefined variable:
   flv_source in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-
   html5-video-and-audio-player/mediaelement-js-wp.php on line 432 Notice: Undefined
   variable: wmv_source in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/
   media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 433
   Notice: Undefined variable: captions_source in /var/www/vhosts/domain.com/httpdocs/
   wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-
   wp.php on line 435 Notice: Undefined variable: loop_option in /var/www/vhosts/
   domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/
   mediaelement-js-wp.php on line 447 Notice: Undefined variable: mediahtml in /
   var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-
   and-audio-player/mediaelement-js-wp.php on line 454`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTML5 AV Manager for Wordpress] [Plugin: HTML5 AV Manager for WordPress] No video views](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/)
 *  Thread Starter [straddieplastic](https://wordpress.org/support/users/straddieplastic/)
 * (@straddieplastic)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/#post-2577539)
 * Hi Chris.
 * Getting close, getType error is not showing, but still nothing is uploading.
 * I traced this error:
    `Warning: file_put_contents(/var/www/vhosts/mydomain.com/
   httpdocs/wp-content/plugins/html5avmanager/lib/uploadify/mydomain.com.json): 
   failed to open stream: Permission denied in /var/www/vhosts/mydomain.com/httpdocs/
   wp-content/plugins/html5avmanager/html5avmanager.php on line 105` which suggests
   that the plugin is looking for a json file with my domain name in lib/uploadify.
   I’ve changed the name of json file that was in lib/uploadify to match my domain(
   looked like it had your domain on it), and changed the contents of that to match
   my paths.. all good now, but would be worth updating the plugin to fix that.
 * BTW, there are a few notices for undefined variables showing for this plugin.
 * Thanks for the quick fixes, great plugin 🙂
    Ben
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTML5 AV Manager for Wordpress] [Plugin: HTML5 AV Manager for WordPress] No video views](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/)
 *  Thread Starter [straddieplastic](https://wordpress.org/support/users/straddieplastic/)
 * (@straddieplastic)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/#post-2577522)
 * hi Chris
    I changed permissions to 755, now I can see the views, but am getting
   an error when adding a video. This shows in the editor after adding a jpeg and
   clicking the ‘save and open editor’ button:
 * `Fatal error: Call to a member function getType() on a non-object in /var/www/
   vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php
   on line 421`
 * If I go back to the Audio & Video Manager page, the post has been saved, but 
   without it’s poster jpeg, and i get this error:
 * `Warning: getimagesize(/var/www/vhosts/mydomain.com/httpdocs/wp-content/videoaudio/
   2012/02/test/myimage.jpg): failed to open stream: No such file or directory in/
   var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/html5avmanager/api.php
   on line 141 Warning: Division by zero in /var/www/vhosts/mydomain.com/httpdocs/
   wp-content/plugins/html5avmanager/api.php on line 144 Warning: Division by zero
   in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/html5avmanager/api.
   php on line 145`
 * Any thoughts on that ?
    thanks Ben
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTML5 AV Manager for Wordpress] [Plugin: HTML5 AV Manager for WordPress] No video views](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/)
 *  Thread Starter [straddieplastic](https://wordpress.org/support/users/straddieplastic/)
 * (@straddieplastic)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/#post-2577265)
 * Got it working by :
 * – commenting out lines 138 to 147 in html5avmanager.php.
 * – and manually made /wp-content/videoaudio/views, then copied the audio-default.
   php, audio-xml.php, setting.php, video-default.php, video-xml.php files from /
   wp-content/plugins/html5avmanager/view/videoaudio/ into the new directory
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTML5 AV Manager for Wordpress] [Plugin: HTML5 AV Manager for WordPress] No video views](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/)
 *  Thread Starter [straddieplastic](https://wordpress.org/support/users/straddieplastic/)
 * (@straddieplastic)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-html5-av-manager-for-wordpress-no-video-views/#post-2577263)
 * maybe paths are incorrect: here’s an error message..
 * `Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/videoaudio/views/
   setting.php): failed to open stream: No such file or directory in /var/www/vhosts/
   domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php on line
   141 Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/videoaudio/views/
   video-default.php): failed to open stream: No such file or directory in /var/
   www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.
   php on line 142 Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/
   videoaudio/views/video-xml.php): failed to open stream: No such file or directory
   in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.
   php on line 143 Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/
   videoaudio/views/audio-default.php): failed to open stream: No such file or directory
   in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.
   php on line 144 Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/
   videoaudio/views/audio-xml.php): failed to open stream: No such file or directory
   in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.
   php on line 145`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: IM8 Box Hide] This error occurs when accessing the plugin!](https://wordpress.org/support/topic/plugin-im8-box-hide-this-error-occurs-when-accessing-the-plugin/)
 *  [straddieplastic](https://wordpress.org/support/users/straddieplastic/)
 * (@straddieplastic)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-im8-box-hide-this-error-occurs-when-accessing-the-plugin/#post-1504913)
 * to fix, replace
 *     ```
       foreach($wp_meta_boxes['post'] as $context)
       			foreach($context as $priority)
       				foreach($priority as $box)
       					array_push($this->postboxes,array($box['id'],$box['title']));
   
       		foreach($wp_meta_boxes['page'] as $context)
       			foreach($context as $priority)
       				foreach($priority as $box)
       					array_push($this->pageboxes,array($box['id'],$box['title']));
       ```
   
 * with
 *     ```
       if ($wp_meta_boxes['post']) {
       		foreach($wp_meta_boxes['post'] as $context)
       			foreach($context as $priority)
       				foreach($priority as $box)
       					array_push($this->postboxes,array($box['id'],$box['title']));
       	}
       	if ($wp_meta_boxes['page']) {
       		foreach($wp_meta_boxes['page'] as $context)
       			foreach($context as $priority)
       				foreach($priority as $box)
       					array_push($this->pageboxes,array($box['id'],$box['title']));
       	}
       ```
   
 * ie, wrap foreach with condition check, if ($wp_meta_boxes[‘page’]) { ….

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