• Dear all,

    I am seeking support; I am not able to access the WP backend after upgrading the WP version to 5.3.2. When I want to login I get a (German) error message stating that there is a critical error and that i should check my admin email. However I did not receive any emails.

    The frontend of the page (including web formular) still works fine.

    I added the following debugging code into the wp-config.php, however no logfile is written and no error code is shown:
    // Enable WP_DEBUG mode
    define( ‘WP_DEBUG’, true );
    // Enable Debug logging to the /wp-content/debug.log file
    define( ‘WP_DEBUG_LOG’, true );
    // Disable display of errors and warnings
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );
    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( ‘SCRIPT_DEBUG’, true );

    On a side note: I did performe a backup utilizing BackWPup.

    Did someone encounter a similar problem? Any suggestions regarding debugging?

    Many thanks for your support,

    Christian

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter cschmidtddc

    (@cschmidtddc)

    Hi, I was now able to receive an error log. Here I have an indication that a certian plugin (kirki) is causing problems. Can I deactivate this without using the backend?

    Here is the exact error message (sorry, contains also some German):

    03-Jan-2020 13:36:51 UTC] PHP Notice: Undefined index: settings in /home/wordpress/htdocs/wp-content/plugins/kirki/core/class-kirki-field.php on line 248
    [03-Jan-2020 13:36:51 UTC] PHP Notice: Kirki_Field::__construct wurde fehlerhaft aufgerufen. Typo found in field – setting instead of settings.
    Weitere Informationen: Debugging in WordPress (engl.)
    (Diese Meldung wurde in Version 3.0.10 hinzugefügt.) in /home/wordpress/htdocs/wp-includes/functions.php on line 4986

    These are notices, not errors and therefore it’s unlikely that they will cause issues. You should probably contact the author of the theme you’re using and let them know about this error. Kirki is a framework used by themes, and it looks like they have a typo in their code as the message says (setting instead of settings).

    To deactivate a plugin you can login via FTP and rename the plugin folder (or delete it) manually. Though as I mentioned above, it looks like the cause of the error is coming from a theme that is not properly using the plugin.

    I have the same error in my language and are kind of lost in the same problem. Any other solution than deleting the plugin folder?

    I found this error in a file

    [03-Jan-2020 20:30:00 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function '_wp_add_additional_image_sizes' not found or invalid function name in /xxx/wp-includes/class-wp-hook.php on line 286
    [03-Jan-2020 20:30:01 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'enqueue_block_styles_assets' not found or invalid function name in xx/wp-includes/class-wp-hook.php on line 286

    Anyone able to interprete something from that?

    @kjiver your error is a warning. Neither warnings nor notices can cause your backend to be inaccessible.
    An error that would cause your backend to be inaccessible would have to be a PHP Fatal Error.
    Try this:
    1. Login via FTP on your site.
    2. Create a new wp-content/plugins-backup folder.
    3. Move ALL plugins from wp-content/plugins to wp-content/plugins-backup
    4. Try logging-in on your dashboard. DO NOT visit the plugins page. If you manage to login on your dashboard, then the problem is likely with one of your plugins. Start moving your plugins one by one from wp-content/plugins-backup to wp-content/plugins until you find the one that is causing your issue.
    5. If step 4 doesn’t work and after moving all your plugins to wp-content/plugins-backup you still can’t login on your site, then your plugins are not the issue. Try uploading a fresh copy of WordPress, overwriting the wp-includes and wp-admin folders (but not wp-content). If that succeeds, then something must have gone wrong when updating WordPress.
    6. If all else fails, contact your host.

    Thanks @aristath for helping me out.

    My back-end is still for me inacessible: The message on the back end – any page, is “Nettstedet opplever tekniske utfordringer. Vennligst sjekk din nettstedsadministrators e-postkasse for ? f? instruksjoner.”, wich means “webpage has technical difficulties. Check your admin e-mail”.

    Before there was no error on the front end, but after I did the change in plug-ins folder via ftp I broke the front-end also, even if I copied the folder back again. I do not understand what is happening.
    I’m at the moment a place with a bad connection so I have not access to upload a new version of wp to the server before middle of next week.

    If you copied the files back then everything would back to the way it was, this is a non-destructive process.
    The message says you should check your email. Normally when there’s an issue like this your site will send you and email with a link you can use to login on your site and access your dashboard.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can not access backend after upgrading from 5.1.1. to 5.3.2.’ is closed to new replies.