Title: Error in capabilities.php
Last modified: August 18, 2016

---

# Error in capabilities.php

 *  [puka](https://wordpress.org/support/users/puka/)
 * (@puka)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-in-capabilitiesphp/)
 * I installed a plugin yesterday and after that when i tried to login to my admin
   area in wordpress here is the error that comes up:
 * Warning: Invalid argument supplied for foreach() in /home/albanian/public_html/
   wp/wp-includes/capabilities.php on line 19
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/albanian/public_html/wp/wp-includes/capabilities.php:19) in /home/albanian/
   public_html/wp/wp-includes/pluggable-functions.php on line 325
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/albanian/public_html/wp/wp-includes/capabilities.php:19) in /home/albanian/
   public_html/wp/wp-includes/pluggable-functions.php on line 326
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/albanian/public_html/wp/wp-includes/capabilities.php:19) in /home/albanian/
   public_html/wp/wp-includes/pluggable-functions.php on line 288
 * Can anyone pls help me? i tried to upgrade, also overrighted the capabilities.
   php but nothing happened…pls some answers.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Nazgul](https://wordpress.org/support/users/nazgul/)
 * (@nazgul)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-in-capabilitiesphp/#post-404275)
 * Delete/rename the plugin file you installed to something else, but make sure 
   the new extension isn’t .php and see if that fixes it.
 *  Thread Starter [puka](https://wordpress.org/support/users/puka/)
 * (@puka)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-in-capabilitiesphp/#post-404320)
 * deleted the plugin..nothing happens…i thing something is changed in the header…
   i dont know what. the plugin is the one that puts the license in your blog.
 *  [robsydney](https://wordpress.org/support/users/robsydney/)
 * (@robsydney)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-in-capabilitiesphp/#post-404854)
 * I am getting the same problem but after login. I have not installed any plug 
   in. Have you found the answer yet?
 *  [bugajski1](https://wordpress.org/support/users/bugajski1/)
 * (@bugajski1)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/error-in-capabilitiesphp/#post-404865)
 * i have the same problem this is REALLY FRUSTRATING! what is going on?
 *  [cshaul](https://wordpress.org/support/users/cshaul/)
 * (@cshaul)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/error-in-capabilitiesphp/#post-404870)
 * I had the same problem. It is in the php settings. My work around was to add:
 * php_flag magic_quotes_gpc off
    php_flag magic_quotes_runtime off
 * into the .htaccess file at the root of my blog.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error in capabilities.php’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 5 participants
 * Last reply from: [cshaul](https://wordpress.org/support/users/cshaul/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/error-in-capabilitiesphp/#post-404870)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
