Title: getting this Warning: printf() [function.printf] while using MVB plugin
Last modified: August 21, 2016

---

# getting this Warning: printf() [function.printf] while using MVB plugin

 *  [turbulence](https://wordpress.org/support/users/turbulence/)
 * (@turbulence)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/getting-this-warning-printf-functionprintf-while-using-mvb-plugin/)
 * I’m getting this warning on the top of all pages in the WP Admin
 * Warning: printf() [function.printf]: Too few arguments in /home3/turbofan/public_html/
   farcry4gamer.com/wp-content/plugins/myvideoblog/mvb_main.php on line 217
 * I’ve been in my cpanel and have look at line 217 , but i don’t even know what
   I’m looking for to fix this warning ….does anyone have any suggestions
 * I am using the Gameleon Theme and the plugin warning is referring to is MVB (
   My Video Blog plugin)

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

 *  [fh](https://wordpress.org/support/users/felipestyle77/)
 * (@felipestyle77)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/getting-this-warning-printf-functionprintf-while-using-mvb-plugin/#post-5159704)
 * Don’t worry, I use the plugin and I fixed this error few minutes ago.
 * The owner of PHP MyVideoBlog has abandoned the plugin and we have no support 
   since then. Their website is also offline, maybe this is the cause of that issue.
 * First make a backup of the file mvb_main.php and delete these lines:
 * > $mvb_latest_version = curl_exec($ch);
   >  curl_close($ch); if($mvb_showversion
   > >= $mvb_latest_version) { delete_user_meta($user_id, ‘mvb_check_notice_readed’);}
   > else { add_action(‘admin_notices’, ‘mvb_notice’); } }
 * And:
 * > function mvb_notice() {
   >  global $current_user, $mvb_latest_version; $user_id
   > = $current_user->ID; $server_url = $_SERVER[‘REQUEST_URI’]; if (strstr($server_url,“?”)){
   > $mvb_notice_url = strstr($server_url, “?”); $mvb_notice_url = str_replace(“?”,“&”,
   > $mvb_notice_url); } $mvb_noteread = get_user_meta($user_id, ‘mvb_check_notice_readed’,
   > true); if ((!$mvb_noteread) AND (current_user_can( ‘install_plugins’ ))) { 
   > echo ‘<div class=”updated”><p>’; printf(__(‘<font color=”green”><b>MVB Plugin
   > </b></font> – A new version (‘.$mvb_latest_version.’) is available! Click [here](http://www.phpmyvideoblog.com/forum)
   > to download. | [Hide Notice](https://wordpress.org/support/topic/getting-this-warning-printf-functionprintf-while-using-mvb-plugin/%1$s?output_format=md)‘),‘?
   > mvb_close_notice=0’.$mvb_notice_url.”); echo “</p></div>”; } else if (($mvb_noteread
   > < $mvb_latest_version) AND (current_user_can( ‘install_plugins’ ))) { echo ‘
   > <div class=”updated”><p>’; printf(__(‘<font color=”green”><b>MVB Plugin</b>
   > </font> – A new version (‘.$mvb_latest_version.’) is available! Click [here](http://www.phpmyvideoblog.com/forum)
   > to download. | [Hide Notice](https://wordpress.org/support/topic/getting-this-warning-printf-functionprintf-while-using-mvb-plugin/%1$s?output_format=md)‘),‘?
   > mvb_close_notice=0’.$mvb_notice_url.”); echo “</p></div>”; } }
 * Hope that helps you.
 *  [Mitch](https://wordpress.org/support/users/n2rga/)
 * (@n2rga)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/getting-this-warning-printf-functionprintf-while-using-mvb-plugin/#post-5159797)
 * Hi I have the same problem and did what you said but I get this error
    `Parse
   error: syntax error, unexpected end of file in /home/xxxxxx/public_html/wp-content/
   plugins/myvideoblog/mvb_main.php on line 323` thats the end of the file `?>` 
   Please help
 *  [Mitch](https://wordpress.org/support/users/n2rga/)
 * (@n2rga)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/getting-this-warning-printf-functionprintf-while-using-mvb-plugin/#post-5159813)
 * His site was back up and now its gone again a few months later and this error
   is back its trying to call home. I tried the fix you proposed before and get 
   the above error.

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

The topic ‘getting this Warning: printf() [function.printf] while using MVB plugin’
is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [Mitch](https://wordpress.org/support/users/n2rga/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/getting-this-warning-printf-functionprintf-while-using-mvb-plugin/#post-5159813)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
