Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author scribu

    (@scribu)

    $wp_query = new WP_User_Query($args);

    You shouldn’t replace $wp_query with a WP_User_Query instance. Use $user_query instead.

    For WP PageNavi to work with users, you can do this:

    wp_pagenavi( array(
      'query' => $user_query,
      'type' => 'users'
    ) );
    Thread Starter Scott Cariss

    (@l3rady)

    Thanks scribu for the prompt reply.

    Made the amends and this now functionally correctly.

    Many Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-PageNavi] Fatal error: Call to undefined method WP_User_Query::get()’ is closed to new replies.