Hey! I think I found the answer.
It seems to be a problem with defining roles and capabilities WordPress.
When we register a new user can define their roles (Admin, Super Admin, Editor, Contributor, Subscriber). Each of these roles has different skills (reading a page / post, edit a page / post, add a page / post, etc). To learn more about the roles and capabilities provided useful wordpress codex: http://codex.wordpress.org/Function_Reference/add_menu_page
If we have a plugin or template that generates a new menu in our back end functions such as safely used add_theme_page, add_menu_page, add_submenu_page.
Consider the statement of one of these functions
<? Php add_menu_page ($ page_title, $ menu_title, $ capability, $ menu_slug, $ function, $ icon_url, $ position);?>
The third parameter, $capability, accepts as a value that defines the different capabilities WordPress. This menu give access to only users (roles) that have that capability.
The error in question is generated because we do not pass a value of type capacity, we offer a value of type User Level, the old system to limit user roles.
IMPORTANT: The user levels ceased to be used in W 2.0 and W3.0 were completely eliminated. Read more here: http://codex.wordpress.org/User_Levels
In case you do not understand much I'm posting a link which helped me to understand that this was the problem: http://tumbledesign.com/fix-notice-has_cap-was-called-with-an-argument-that-is- deprecated-since-version-2-0-in-wordpress /
Hey! I feel good! I solved my problem!
The autor of this solution is Nicky Hajal. Here, is blog
pd: sorry for my English, I'm Argentine and not write in English, I do it with google translator