• p3john

    (@p3john)


    Page displays “here” after clicking a user to login as.

    Changing the URL to the root shows the user’s account page correctly. The user’s account page does not display after the initial click on “Login as…”

    Also, clicking the “go back to admin as P3 Tech” button results in the same result – only “here” is displayed on the page.

    With Query Monitor installed, and refreshing the page shows this message:

    ————————————————–

    This message was triggered by login-as-user.

    Call stack:

    1. wp_die()
      wp-content/plugins/login-as-user/includes/class-w357-login-as-user.php:165
    2. w357LoginAsUser->action_init()
      wp-includes/class-wp-hook.php:324
    3. do_action('init')
      wp-settings.php:700
    • This topic was modified 6 days ago by p3john.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Yiannis Christodoulou

    (@yiannistaos)

    Hi @p3john,

    Thanks for your message.

    What is this “here”? Could you, please, provide me a screenshot?

    Thread Starter p3john

    (@p3john)

    The ‘login as’ actually works. Meaning, if I click ‘login as’ and get the page that just says ‘here’… and then change the URL from “/login/?redirect_to&action=login_as_olduser&_wpnonce=[once goes here]”

    to just “/”, I get the homepage and I see I am logged in as the user.

    Looks to be just the redirection that’s not working.

    • This reply was modified 5 days, 21 hours ago by p3john.
    Plugin Author Yiannis Christodoulou

    (@yiannistaos)

    Have you set any redirection url in the plugin settings?

    Thread Starter p3john

    (@p3john)

    Yes, I’ve tried setting the redirection URL in the plugin settings… didn’t work, so I removed it.

    Plugin Author Yiannis Christodoulou

    (@yiannistaos)

    @p3john could you send me a screenshot with the place where the “here” is displayed?

    Thread Starter p3john

    (@p3john)

    Plugin Author Yiannis Christodoulou

    (@yiannistaos)

    It seems that there is a <?php die(“here”); ?> somewhere in the code.

    If you disable the plugin and try to login as a new fake user with the same role, do you see the same “here” message?

    Thread Starter p3john

    (@p3john)

    Yes, if I disable the plugin, I am not able to ‘login as’ another user (obviously) but I am able to login to the site as a new fake user in the same role without an issue. No ‘here’ message.

    Plugin Author Yiannis Christodoulou

    (@yiannistaos)

    Have you tried to permanently uninstall the plugin and then try to install it again?

    Thread Starter p3john

    (@p3john)

    Yes, though when I deactivated and deleted the plugin… then reinstalled it. The settings, etc. remained the same (like the redirect URL), as if the data remained.

    Plugin Author Yiannis Christodoulou

    (@yiannistaos)

    To investigate the issue further, could you please share the Site Health data from your WordPress dashboard? You can find it under Tools > Site Health and use the “Copy site info to clipboard” option to send me the details.

    Thread Starter p3john

    (@p3john)

    Here you go:

    ` wp-core

    version: 6.6.2
    site_language: en
    user_language: en
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 6618
    dotorg_communication: cURL error 28: Connection timed out after 10001 milliseconds wp-paths-sizes

    wordpress_path: /nas/content/live/idcpadev
    wordpress_size: 208.97 MB (219115894 bytes)
    uploads_path: /nas/content/live/idcpadev/wp-content/uploads
    uploads_size: 569.70 MB (597378115 bytes)
    themes_path: /nas/content/live/idcpadev/wp-content/themes
    themes_size: 15.00 MB (15728882 bytes)
    plugins_path: /nas/content/live/idcpadev/wp-content/plugins
    plugins_size: 301.97 MB (316637853 bytes)
    fonts_path: /nas/content/live/idcpadev/wp-content/uploads/fonts
    fonts_size: directory not found
    database_size: 244.22 MB (256081920 bytes)
    total_size: 1.31 GB (1404942664 bytes) wp-dropins (2)

    advanced-cache.php: true
    object-cache.php: true wp-active-theme

    name: GeneratePress (generatepress)
    version: 3.5.1
    author: Tom Usborne
    author_website: https://tomusborne.com
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, automatic-feed-links, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, editor-color-palette, custom-logo, menus, editor-styles, editor-style, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, appearance-tools, border, widgets
    theme_path: /nas/content/live/idcpadev/wp-content/themes/generatepress
    auto_update: Enabled wp-themes-inactive (4)

    Genesis Block Theme: version: 1.0.0, author: StudioPress, Auto-updates disabled
    Twenty Twenty-Four: version: 1.2, author: the WordPress team (latest version: 1.3), Auto-updates disabled
    Twenty Twenty-Three: version: 1.6, author: the WordPress team, Auto-updates enabled
    Twenty Twenty-Two: version: 1.9, author: the WordPress team, Auto-updates enabled wp-mu-plugins (5)

    Force Strong Passwords - WPE Edition: version: 1.8.0, author: Jason Cosper
    WP Engine Cache Plugin: version: 1.3.2, author: WP Engine
    WP Engine Seamless Login Plugin: version: 1.6.1, author: WP Engine
    WP Engine Security Auditor: version: 1.1.1, author: wpengine
    WP Engine System: version: 6.3.0, author: WP Engine wp-plugins-active (32)

    Advanced Custom Fields: version: 6.3.11, author: WP Engine, Auto-updates enabled
    AMNET API Connectivity: version: 0.0.20, author: P3 Technologies, LLC, Auto-updates enabled
    Beaver Builder Plugin (Pro Version): version: 2.8.5, author: The Beaver Builder Team, Auto-updates enabled
    Better Plugin Compatibility Control: version: 6.6.0, author: Oliver Schl?be, Auto-updates enabled
    CoBlocks: version: 3.1.13, author: GoDaddy, Auto-updates enabled
    FileBird Lite: version: 6.4.2, author: Ninja Team, Auto-updates enabled
    Font Awesome: version: 4.5.0, author: Font Awesome, Auto-updates enabled
    Google Analytics for WordPress by MonsterInsights: version: 9.2.2, author: MonsterInsights, Auto-updates enabled
    GP Premium: version: 2.5.0, author: Tom Usborne, Auto-updates enabled
    IDCPA site addon: version: 1.0, author: IDCPA Society, Auto-updates disabled
    Livemesh Addons for Beaver Builder Pro: version: 3.8, author: Livemesh, Auto-updates enabled
    Login as User: version: 1.5.6, author: Web357, Auto-updates disabled
    My Database Admin: version: 1.1.24, author: securebit, Auto-updates enabled
    Ninja Forms: version: 3.8.19, author: Saturday Drive, Auto-updates enabled
    Ninja Forms - File Uploads: version: 3.3.20, author: Saturday Drive, Auto-updates enabled
    Ninja Forms - Layout & Styles: version: 3.0.30, author: Saturday Drive, Auto-updates enabled
    Ninja Forms - User Management: version: 3.2.1, author: Saturday Drive, Auto-updates enabled
    Pages with category and tag: version: 0.9.0, author: YAHMAN, Auto-updates disabled
    Presto Player: version: 3.0.7, author: Presto Made, Inc, Auto-updates enabled
    Query Monitor: version: 3.16.4, author: John Blackbourn, Auto-updates enabled
    Simple History: version: 5.2.0, author: P?r Thernstr?m, Auto-updates disabled
    Smart Slider 3 Pro: version: 3.5.1.24, author: Nextend, Auto-updates disabled
    Ultimate Addons for Beaver Builder: version: 1.35.27, author: Brainstorm Force, Auto-updates enabled
    WooCommerce: version: 9.4.2, author: Automattic, Auto-updates enabled
    WPCode Lite: version: 2.2.3.1, author: WPCode, Auto-updates enabled
    WP Crontrol: version: 1.17.0, author: John Blackbourn, Auto-updates enabled
    WP File Manager: version: 8.0, author: mndpsingh287, Auto-updates enabled
    WP Job Manager: version: 2.4.0, author: Automattic, Auto-updates disabled
    WP Job Manager - Resume Manager: version: 2.2.0, author: Automattic, Auto-updates disabled
    WP Job Manager - WooCommerce Paid Listings: version: 3.0.3, author: Automattic, Auto-updates disabled
    WP Job Manager Field Editor: version: 1.12.10, author: Myles McNamara, Auto-updates disabled
    Yoast SEO: version: 23.9, author: Team Yoast, Auto-updates enabled wp-plugins-inactive (1)

    AffiniPay WooCommerce: version: 1.5.2, author: AffiniPay, LLC, Auto-updates enabled wp-media

    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1691
    imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 100M
    upload_max_filesize: 50M
    max_effective_size: 50 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 137 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 786432
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.22337203685E+18
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.0
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: not available wp-server

    server_architecture: Linux 6.1.85+ x86_64
    httpd_software: nginx
    php_version: 8.2.24 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 43300
    memory_limit: 512M
    max_input_time: -1
    upload_max_filesize: 50M
    php_post_max_size: 100M
    curl_version: 7.81.0 OpenSSL/3.0.2
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: false
    current: 2024-11-22T12:52:43+00:00
    utc-time: Friday, 22-Nov-24 12:52:43 UTC
    server-time: 2024-11-22T12:52:28+00:00 wp-database

    extension: mysqli
    server_version: 8.0.37-29
    client_version: mysqlnd 8.2.24
    max_allowed_packet: 16777216
    max_connections: 500 wp-constants

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /nas/content/live/idcpadev/wp-content
    WP_PLUGIN_DIR: /nas/content/live/idcpadev/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: utf8_unicode_ci wp-filesystem

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    fonts: not writable
    mu-plugins: writable acf

    version: 6.3.11
    plugin_type: Free
    update_source: ACF Direct
    ui_field_groups: 1
    php_field_groups: 0
    json_field_groups: 0
    rest_field_groups: 0
    post_types_enabled: true
    ui_post_types: 22
    json_post_types: 0
    ui_taxonomies: 20
    json_taxonomies: 0
    rest_api_format: light
    admin_ui_enabled: true
    field_type-modal_enabled: true
    field_settings_tabs_enabled: false
    shortcode_enabled: true
    registered_acf_forms: 0
    json_save_paths: 1
    json_load_paths: 1
Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.