Title: Error message when logging in
Last modified: August 18, 2016

---

# Error message when logging in

 *  [dcottuli](https://wordpress.org/support/users/dcottuli/)
 * (@dcottuli)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-message-when-logging-in/)
 * Install seems to have gone well but I get this error message after the login 
   screen (I’ve made sure that there are no whitespaces before or after php tags
   as suggested.
 * Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/mydomain.
   com.au/httpdocs/wordpress/wp-includes/capabilities.php on line 19
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/httpd/vhosts/mydomain.com.au/httpdocs/wordpress/wp-includes/capabilities.
   php:19) in /home/httpd/vhosts/mydomain.com.au/httpdocs/wordpress/wp-includes/
   pluggable-functions.php on line 325
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/httpd/vhosts/mydomain.com.au/httpdocs/wordpress/wp-includes/capabilities.
   php:19) in /home/httpd/vhosts/mydomain.com.au/httpdocs/wordpress/wp-includes/
   pluggable-functions.php on line 326
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/httpd/vhosts/mydomain.com.au/httpdocs/wordpress/wp-includes/capabilities.
   php:19) in /home/httpd/vhosts/mydomain.com.au/httpdocs/wordpress/wp-includes/
   pluggable-functions.php on line 288

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

 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-message-when-logging-in/#post-409685)
 * Check for 0 byte files and/or re-upload wp-admin/ from the original .zip file?
 *  Thread Starter [dcottuli](https://wordpress.org/support/users/dcottuli/)
 * (@dcottuli)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-message-when-logging-in/#post-409689)
 * not sure what you mean by 0 byte files but have reuploaded all files and no luck??
 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-message-when-logging-in/#post-409710)
 * 0 bytes means the file didn’t make it, the name is there, but the file is empty.
   The way I do that process is by FTP, deleting the entire wp-admin directory and
   then replacing it.
 *  Thread Starter [dcottuli](https://wordpress.org/support/users/dcottuli/)
 * (@dcottuli)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/error-message-when-logging-in/#post-409867)
 * Every file present and accounted for and at peak weight 🙂 I’ve reuploaded the
   files twice just to be sure.

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

The topic ‘Error message when logging in’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 2 participants
 * Last reply from: [dcottuli](https://wordpress.org/support/users/dcottuli/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/error-message-when-logging-in/#post-409867)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
