Title: Error 500 wp-admin
Last modified: January 18, 2023

---

# Error 500 wp-admin

 *  [elpepian](https://wordpress.org/support/users/elpepian/)
 * (@elpepian)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-500-wp-admin-2/)
 * Hello. I have a client and yesterday sent me an email telling me that can not
   access to the wordpress dashboard. So I was searching for solutions and found
   some topics with this problem.
    I already deactivate the plugins, rename the 
   theme folder and rename the .htaccess file but nothing changed.
 * From the log file of the root folder I get this message:
 *     ```
       [18-Jan-2023 14:16:52 UTC] PHP Warning:  Illegal string offset 'remember' in /home/apoturperu/public_html/wp-includes/user.php on line 41
       [18-Jan-2023 14:16:52 UTC] PHP Warning:  Cannot assign an empty string to a string offset in /home/apoturperu/public_html/wp-includes/user.php on line 41
       [18-Jan-2023 14:16:52 UTC] PHP Warning:  Illegal string offset 'user_login' in /home/apoturperu/public_html/wp-includes/user.php on line 56
       [18-Jan-2023 14:16:52 UTC] PHP Fatal error:  Uncaught Error: Cannot create references to/from string offsets in /home/apoturperu/public_html/wp-includes/user.php:56
       Stack trace:
       #0 /home/apoturperu/public_html/wp-login.php(806): wp_signon('', '')
       #1 {main}
         thrown in /home/apoturperu/public_html/wp-includes/user.php on line 56
       ```
   
 * I activate the debugger and get this message:
 *     ```
       [18-Jan-2023 14:42:17 UTC] PHP Deprecated:  Function get_magic_quotes_gpc() is deprecated in /home/apoturperu/public_html/wp-includes/load.php on line 583
       [18-Jan-2023 14:42:17 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/apoturperu/public_html/wp-includes/pomo/translations.php on line 208
       [18-Jan-2023 14:42:51 UTC] PHP Deprecated:  Function get_magic_quotes_gpc() is deprecated in /home/apoturperu/public_html/wp-includes/load.php on line 583
       [18-Jan-2023 14:42:51 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/apoturperu/public_html/wp-includes/pomo/translations.php on line 208
       [18-Jan-2023 14:42:51 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/apoturperu/public_html/wp-includes/pomo/translations.php on line 208
       [18-Jan-2023 14:42:51 UTC] PHP Deprecated:  Function get_magic_quotes_gpc() is deprecated in /home/apoturperu/public_html/wp-includes/formatting.php on line 3785
       [18-Jan-2023 14:42:51 UTC] PHP Deprecated:  Function get_magic_quotes_gpc() is deprecated in /home/apoturperu/public_html/wp-includes/formatting.php on line 3785
       [18-Jan-2023 14:42:51 UTC] PHP Deprecated:  Function get_magic_quotes_gpc() is deprecated in /home/apoturperu/public_html/wp-includes/load.php on line 583
       [18-Jan-2023 14:42:51 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/apoturperu/public_html/wp-includes/pomo/translations.php on line 208
       [18-Jan-2023 14:42:51 UTC] PHP Warning:  Illegal string offset 'remember' in /home/apoturperu/public_html/wp-includes/user.php on line 41
       [18-Jan-2023 14:42:51 UTC] PHP Warning:  Cannot assign an empty string to a string offset in /home/apoturperu/public_html/wp-includes/user.php on line 41
       [18-Jan-2023 14:42:51 UTC] PHP Warning:  Illegal string offset 'user_login' in /home/apoturperu/public_html/wp-includes/user.php on line 56
       [18-Jan-2023 14:42:51 UTC] PHP Fatal error:  Uncaught Error: Cannot create references to/from string offsets in /home/apoturperu/public_html/wp-includes/user.php:56
       Stack trace:
       #0 /home/apoturperu/public_html/wp-login.php(806): wp_signon('', '')
       #1 {main}
         thrown in /home/apoturperu/public_html/wp-includes/user.php on line 56
       ```
   
 * That is all I got so far. Hope you can help me with this.
    Thanks in advanced!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-500-wp-admin-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-500-wp-admin-2/#post-16385894)
 * Maybe an update has damaged the WordPress-Core files.
 * Try [downloading WordPress](https://wordpress.org/download/) again ( make sure
   the downloaded version is the same as the currently delpoyed version ), access
   your server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel, and delete then replace
   your copies of everything **except** the `wp-config.php` file and the `/wp-content/`
   directory with fresh copies from the download. This will effectively replace 
   all of your core files without damaging your content and settings.
 * Some uploaders tend to be unreliable when overwriting files, so don’t forget 
   to delete the original files before replacing them.
    -  This reply was modified 3 years, 4 months ago by [Benedikt Ledl](https://wordpress.org/support/users/benniledl/).
 *  Thread Starter [elpepian](https://wordpress.org/support/users/elpepian/)
 * (@elpepian)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-500-wp-admin-2/#post-16387379)
 * Ok. Just to be clear and 100% sure.
 * I have to DELETE all files except:
    - wp-config.php file
    - /wp-content folder
 * All the rest should be deleted.
 * Then I upload (from the downloaded WordPress) all files except the ones I listed
   above.
 * Please confirm (and fingers crossed).
 * Thanks!
 *  [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-500-wp-admin-2/#post-16388141)
 * Hi, yes this is right. Make sure to download the same version of WordPress again.
 *  Thread Starter [elpepian](https://wordpress.org/support/users/elpepian/)
 * (@elpepian)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-500-wp-admin-2/#post-16393227)
 * Hi [@benniledl](https://wordpress.org/support/users/benniledl/) I just did what
   you recommend but I keep getting the Error 500 page when I try to access the 
   wp-admin URL 🙁
 * The wordpress version is 4.3.30. Here I share more information from the version.
   php file:
 *     ```wp-block-code
       /**
       The WordPress version string
       @global string $wp_version
       */
       $wp_version = '4.3.30';
   
       /**
       Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
       @global int $wp_db_version
       */
       $wp_db_version = 33056;
   
       /**
       Holds the TinyMCE version
       @global string $tinymce_version
       */
       $tinymce_version = '4205-20150910';
   
       /**
       Holds the required PHP version
       @global string $required_php_version
       */
       $required_php_version = '5.2.4';
   
       /**
       Holds the required MySQL version
       @global string $required_mysql_version
       */
       $required_mysql_version = '5.0';
       ```
   
 * What can I do? There is something more I can try?
 *  [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-500-wp-admin-2/#post-16393231)
 * Hi,
   please enable the WordPress-Debug mode and post any error messages in the
   debug-log or on the site.
 * > [Debugging in WordPress](https://wordpress.org/documentation/article/debugging-in-wordpress/)
 *  Thread Starter [elpepian](https://wordpress.org/support/users/elpepian/)
 * (@elpepian)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-500-wp-admin-2/#post-16393264)
 * Ok. I just did and it shows A LOT of lines.
 * You can watch the file from its location at: [http://apoturperu.org/wp-content/debug.log](http://apoturperu.org/wp-content/debug.log)
 * 🤞</img>

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

The topic ‘Error 500 wp-admin’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [elpepian](https://wordpress.org/support/users/elpepian/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/error-500-wp-admin-2/#post-16393264)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
