Title: wp admin problem with headers
Last modified: August 19, 2016

---

# wp admin problem with headers

 *  Resolved [xRommelx](https://wordpress.org/support/users/xrommelx/)
 * (@xrommelx)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/wp-admin-problem-with-headers/)
 * hi, i am using WP in a project, everything was going perfect till i installed
   Comment Validation plugin – [http://bassistance.de/wordpress-plugin-comment-validation/](http://bassistance.de/wordpress-plugin-comment-validation/)
   
   i don’t know why but in admin panel i see this error `Warning: call_user_func_array()[
   function.call-user-func-array]: First argument is expected to be a valid callback,'
   theme_menu' was given in /home/pixelcr/public_html/revistabellasartes/wp/wp-includes/
   plugin.php on line 395` when i try to install a new plugin the errors are those`
   Warning: call_user_func_array() [function.call-user-func-array]: First argument
   is expected to be a valid callback, 'theme_menu' was given in /home/pixelcr/public_html/
   revistabellasartes/wp/wp-includes/plugin.php on line 395`
 * `Warning: Cannot modify header information - headers already sent by (output 
   started at /home/pixelcr/public_html/revistabellasartes/wp/wp-includes/plugin.
   php:395) in /home/pixelcr/public_html/revistabellasartes/wp/wp-includes/pluggable.
   php on line 890`
 * `Warning: Cannot modify header information - headers already sent by (output 
   started at /home/pixelcr/public_html/revistabellasartes/wp/wp-includes/plugin.
   php:395) in /home/pixelcr/public_html/revistabellasartes/wp/wp-includes/pluggable.
   php on line 890`
 * i tried all possibles fixes and solutions in found on internet, but not luck
   
   i hope someone can help me
 * here some pictures :
 * [**dashboard:**](http://i53.tinypic.com/21eq04n.png)
 * [**Plugin List:**](http://i54.tinypic.com/ws2tzt.png)
 * [**trying to install a plugin:**](http://i54.tinypic.com/vyozkj.png)
 * – Regards

Viewing 1 replies (of 1 total)

 *  Thread Starter [xRommelx](https://wordpress.org/support/users/xrommelx/)
 * (@xrommelx)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/wp-admin-problem-with-headers/#post-1722181)
 * 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

Viewing 1 replies (of 1 total)

The topic ‘wp admin problem with headers’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [headers](https://wordpress.org/support/topic-tag/headers/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [xRommelx](https://wordpress.org/support/users/xrommelx/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/wp-admin-problem-with-headers/#post-1722181)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
