Error thrown

Call to undefined method WP_Locale::register_globals()