i resolve the problem, the problem was with the template in am making
in this theme i have a function then create a panel in admin section, the wrong code was this
function admin_menu(){
add_menu_page('Administrador','Administrador de Contenido','edit_themes',basename(__FILE__),'theme_options');
}
function theme_options(){
}
add_action('admin_menu','admin_options');
if u read and put attention the add_action
is calling a function then don’t exist, so this was the problem
the correct code is this
function admin_menu(){
add_menu_page('Administrador','Administrador de Contenido','edit_themes',basename(__FILE__),'theme_options');
}
function theme_options(){
}
add_action('admin_menu','admin_menu');
– I hope this help to others ppl in the future