I’m experiencing the same problem. I did the upgrade and this is the error I got:
Parse error: syntax error, unexpected T_ENDIF in /usr/www/xxx/yyy/charleston/wp-content/plugins/wp-mobile-detector/functions.php on line 429
This is line 429
endif;
It comes from this function:
function websitez_check_monetization(){
global $wpdb,$table_prefix,$websitez_free_version;
$table = $table_prefix."options";
if($_GET['page'] == "websitez_config" || $_GET['page'] == "websitez_stats" || $_GET['page'] == "websitez_themes" || $_GET['page'] == "websitez_monetization"):
$monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);
if($monetization == "false"){
$time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));
$date = date("Y-m-d H:i:s", $time);
$current = date("Y-m-d H:i:s");
if($current >= $date):
add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p><strong><a href=\"admin.php?page=websitez_monetization\">".WEBSITEZ_PLUGIN_NAME." Monetization is disabled!</a></strong> You can <a href=\"admin.php?page=websitez_monetization&monetization=true\">enable monetization</a> or <a href=\"admin.php?page=websitez_monetization&hide=true\">hide</a> this message.</p></div>';" ) );
endif;
endif;
}
}