• I now have the follow at the top on my blog after upgrading to 2.0.1:

    “e; } function register_activation_hook($file, $function) { $file = plugin_basename($file); add_action(‘activate_’ . $file, $function); } function register_deactivation_hook($file, $function) { $file = plugin_basename($file); add_action(‘deactivate_’ . $file, $function); } function plugin_basename($file) { $file = preg_replace(‘|\\\\+|’, ‘\\\\’, $file); $file = preg_replace(‘/^.*wp-content[\\\\\/]plugins[\\\\\/]/’, ”, $file); return $file; } function get_num_queries() { global $wpdb; return $wpdb->num_queries; } ?>”

    Any advice on how to fix this? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error at Top of Blog After Update to 2.0.1’ is closed to new replies.