Title: Fatal error with wp-login.php
Last modified: August 20, 2016

---

# Fatal error with wp-login.php

 *  Resolved [onder84](https://wordpress.org/support/users/onder84/)
 * (@onder84)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-with-wp-loginphp/)
 * Hi,
 * I installed last version of WP and all of my plugs were up-to-dated.. Suddenly,
   in despite of changed nothing on blog, it started to give error:
 * Fatal error: Cannot use string offset as an array in /home/vizyon4/public_html/
   wp-includes/capabilities.php on line 112
 * It only shows this error while trying to enter “wp-login.php”.. So, My blog is
   working properly but cannot enter my admin or any other user panel.
    I tried 
   somethings: deleting plug-ins (by ftp), reloaded wp last version, changing the
   error lines on capabilities.php (deleted the line 112, then it started to say“
   not allowed” while entering the admin panel)
 * So what can i do anymore? I must solve this problem, but i cannot fix it 🙁 i
   really need an urgent help.. Thanks a lot.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-with-wp-loginphp/#post-2328687)
 * Try:
    – switching to the Twenty Eleven theme by renaming your current theme’s
   folder in wp-content/themes and adding “-old” to the end of the folder name using
   [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management application
   your host provides.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or phpMyAdmin.
 * – re-uploading all files & folders – **except** the wp-content folder – from 
   a **fresh** download of WordPress.
 *  Thread Starter [onder84](https://wordpress.org/support/users/onder84/)
 * (@onder84)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-with-wp-loginphp/#post-2328746)
 * Thanks for help, but i did everything you said, nothing worked.. I used twentyeleven
   theme but nope.. Now what should i do ? Please offer me something else so i have
   to fix it immediately.. Thanks.
 *  Thread Starter [onder84](https://wordpress.org/support/users/onder84/)
 * (@onder84)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-with-wp-loginphp/#post-2328831)
 * I solved problem.. My web site had been hacked by someone and deleted on Mysql’s
   wp_user_roles coloumn.. I copied it from past and worked fine.

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

The topic ‘Fatal error with wp-login.php’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [onder84](https://wordpress.org/support/users/onder84/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-with-wp-loginphp/#post-2328831)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
