• 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 to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Maybe an update has damaged the WordPress-Core files.

    Try downloading WordPress again ( make sure the downloaded version is the same as the currently delpoyed version ), access your server via SFTP or FTP, 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.
    Thread Starter elpepian

    (@elpepian)

    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!

    Hi, yes this is right. Make sure to download the same version of WordPress again.

    Thread Starter elpepian

    (@elpepian)

    Hi @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:

    /**
    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?

    Hi,
    please enable the WordPress-Debug mode and post any error messages in the debug-log or on the site.

    Debugging in WordPress

    Thread Starter elpepian

    (@elpepian)

    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

    🤞</img>

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

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