• Resolved enthousiastwpuser

    (@enthousiastwpuser)


    Hello,

    I’m using PHP 8.1.6 and OpenLiteSpeed, and I have a PHP Fatal Error after installing and configuring this plugin.
    The error is happening on the dashboard admin WP page.

    Error Level: E_ERROR
    
    Message: Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in /var/www/website(dot)com/htdocs/wp-content/plugins/index-wp-users-for-speed/admin/user-handler.php:678
    
    Stack trace:
    
    #0 /var/www/website(dot)com/htdocs/wp-content/plugins/index-wp-users-for-speed/admin/user-handler.php(678): array_merge()
    
    #1 /var/www/website(dot)com/htdocs/wp-content/plugins/index-wp-users-for-speed/admin/user-handler.php(703): IndexWpUsersForSpeed\UserHandler->getRoleFilterSets()
    
    #2 /var/www/website(dot)com/htdocs/wp-content/plugins/index-wp-users-for-speed/admin/user-handler.php(565): IndexWpUsersForSpeed\UserHandler->mungRoleFilters()
    
    #3 /var/www/website(dot)com/htdocs/wp-includes/class-wp-hook.php(308): IndexWpUsersForSpeed\UserHandler->action__pre_get_users()
    
    #4 /var/www/website(dot)com/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    #5 /var/www/website(dot)com/htdocs/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    #6 /var/www/website(dot)com/htdocs/wp-includes/class-wp-user-query.php(277): do_action_ref_array()
    
    #7 /var/www/website(dot)com/htdocs/wp-includes/class-wp-user-query.php(78): WP_User_Query->prepare_query()
    
    #8 /var/www/website(dot)com/htdocs/wp-content/plugins/when-last-login/when-last-login.php(395): WP_User_Query->__construct()
    
    #9 /var/www/website(dot)com/htdocs/wp-admin/includes/template.php(1409): When_Last_Login::admin_dashboard_widget_display()
    
    #10 /var/www/website(dot)com/htdocs/wp-admin/includes/dashboard.php(271): do_meta_boxes()
    
    #11 /var/www/website(dot)com/htdocs/wp-admin/index.php(203): wp_dashboard()
    
    #12 {main}
    
    thrown
    
    File: /var/www/website(dot)com/htdocs/wp-content/plugins/index-wp-users-for-speed/admin/user-handler.php
    
    Line: 678
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught TypeError: array_merge(): Argument #2 must be of type array’ is closed to new replies.