Error thrown

Call to undefined method WP_MatchesMapRegex::apply()