• Resolved sagejohn

    (@sagejohn)



    WordPress version 6.4.4
    Active theme: Terra Hub Theme (version 1.4.8)
    Current plugin: WPFront User Role Editor (version 4.1.1)
    PHP version 8.1.29

    Error Details
    =============
    An error of type E_ERROR was caused in line 530 of the file /usr/www/users/terrarksrd/wp-content/plugins/wpfront-user-role-editor/includes/users/class-user-switching.php. Error message: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /usr/www/users/terrarksrd/wp-content/plugins/wpfront-user-role-editor/includes/users/class-user-switching.php:530
    Stack trace:
    #0 /usr/www/users/terrarksrd/wp-content/plugins/wpfront-user-role-editor/includes/users/class-user-switching.php(530): method_exists(NULL, 'forget_session')
    #1 /usr/www/users/terrarksrd/wp-content/plugins/wpfront-user-role-editor/includes/users/class-user-switching.php(244): WPFront\URE\User_Switching\WPFront_User_Role_Editor_User_Switching->forget_woocommerce_session()
    #2 /usr/www/users/terrarksrd/wp-includes/class-wp-hook.php(324): WPFront\URE\User_Switching\WPFront_User_Role_Editor_User_Switching->switch_user('')
    #3 /usr/www/users/terrarksrd/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #4 /usr/www/users/terrarksrd/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /usr/www/users/terrarksrd/wp-settings.php(643): do_action('init')
    #6 /usr/www/users/terrarksrd/wp-config.php(108): require_once('/usr/www/users/...')
    #7 /usr/www/users/terrarksrd/wp-load.php(50): require_once('/usr/www/users/...')
    #8 /usr/www/users/terrarksrd/wp-admin/admin.php(34): require_once('/usr/www/users/...')
    #9 /usr/www/users/terrarksrd/wp-admin/users.php(11): require_once('/usr/www/users/...')
    #10 {main}
    ? thrown
Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    You’ll need to report this to the author of the wpfront-user-role-editor plugin. Thanks.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.