• Resolved gerardphilippe

    (@gerardphilippe)


    Hello, I received an automatic email from my WordPress site about a problem with a user switching plugin.
    Here is the technical information I received :

    WordPress version 5.4.1 Thème actuel : Eduma Child (version 1.1) Extension actuelle : User Switching (version 1.5.4) PHP version 7.3.17 Détails de l’erreur ====================== Une erreur de type E_ERROR a été causée dans la ligne 205 du fichier /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-content/plugins/user-switching/user-switching.php.
    Message d’erreur : Uncaught Error: Call to undefined function login_header() in /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-content/plugins/user-switching/user-switching.php:205 Stack trace:
    #0 /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-includes/class-wp-hook.php(287): user_switching->action_init(”)
    #1 /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-settings.php(540): do_action(‘init’)
    #4 /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-config.php(88): require_once(‘/homepages/2/d8…’)
    #5 /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-load.php(37): require_once(‘/homepages/2/d8…’)
    #6 /homepages/2/d801669884/htdocs/clickandbuilds/SORCIERSDESTICS/wp-blog-header.php(13): require_onc

    thanks for your help

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Do you have a custom login mechanism on your site?

    Thread Starter gerardphilippe

    (@gerardphilippe)

    not personally unless it’s handled by the eduma theme directly.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Your best bet is to try one of the default themes such as Twenty Twenty, and try deactivating your other plugins one by one to see if you can find the culprit.

    It seems like one of your plugins or your theme is not accounting for the interim-login behaviour in WordPress core, which occurs when you get signed out of WordPress while you’re still using it and you get shown a modal window to sign back in again.

    Thread Starter gerardphilippe

    (@gerardphilippe)

    Ah ok I see. Apparently in your description of the plugin there is a feature that never worked, namely reconnection. To go back to the admin account I have to log out and log back in as admin.
    I’ll try to do your method and see what it will do.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ERROR user switching’ is closed to new replies.