fh
(@felipestyle77)
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 to download. | Hide Notice‘), ‘?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 to download. | Hide Notice‘), ‘?mvb_close_notice=0’.$mvb_notice_url.”);
echo “</p></div>”;
}
}
Hope that helps you.
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
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.