Title: Custom User Fields return blank screen
Last modified: August 20, 2016

---

# Custom User Fields return blank screen

 *  Resolved [Kyle Burnett](https://wordpress.org/support/users/idstm/)
 * (@idstm)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/custom-user-fields-return-blank-screen/)
 * When I add a user meta field to the Users list, and then try and sort, I get 
   a blank screen. Nothing at all comes back.
 * This is on WP 3.5, networked edition. I’m thinking it’s the Networked Edition
   part that is breaking it. It works fine on a regular edition with the same settings.
 * [http://wordpress.org/extend/plugins/codepress-admin-columns/](http://wordpress.org/extend/plugins/codepress-admin-columns/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [dmallon](https://wordpress.org/support/users/dmallon/)
 * (@dmallon)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/custom-user-fields-return-blank-screen/#post-3439919)
 * I am experiencing this same problem. Sorting by user-meta works on a standalone
   WP installation but returns no results in a multi-site installation.
 * Thank you for any assistance you can provide.
 *  [fried_eggz](https://wordpress.org/support/users/fried_eggz/)
 * (@fried_eggz)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-user-fields-return-blank-screen/#post-3440065)
 * Same problem here. Any fix for this?
 *  [fried_eggz](https://wordpress.org/support/users/fried_eggz/)
 * (@fried_eggz)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-user-fields-return-blank-screen/#post-3440066)
 * This is a bug in the Codepress Admin Columns Pro add-on.
 * In WordPress, user meta is stored in the wp_users table and not in wp_xx_table.
   On line 206 and 207 of the file cac-addon-pro\classes\sortable\classes\user.php:
 * $wpdb->prefix should be changed to $wpdb->base_prefix
 * Patch:
 * Replace line 206 and 207 with
    $user_query->query_where .= ” AND {$wpdb->base_prefix}
   users.ID IN ({$column_names})”; $user_query->query_orderby = “ORDER BY FIELD({
   $wpdb->base_prefix}users.ID,{$column_names})”;
 *  Plugin Author [Tobias Schutter](https://wordpress.org/support/users/tschutter/)
 * (@tschutter)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-user-fields-return-blank-screen/#post-3440067)
 * Hi fried_eggz, thank you for the fix, I have included it in the next release 
   v1.0.5, which should be available now.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom User Fields return blank screen’ is closed to new replies.

 * ![](https://ps.w.org/codepress-admin-columns/assets/icon.svg?rev=1521754)
 * [Admin Columns](https://wordpress.org/plugins/codepress-admin-columns/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/codepress-admin-columns/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/codepress-admin-columns/)
 * [Active Topics](https://wordpress.org/support/plugin/codepress-admin-columns/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codepress-admin-columns/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codepress-admin-columns/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Tobias Schutter](https://wordpress.org/support/users/tschutter/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/custom-user-fields-return-blank-screen/#post-3440067)
 * Status: resolved