• To try and find a file I (stupidly in retrospect) set the number of items to be shown in the Media library to 999 (the max). This times out, but I can’t set it back to a lower more reasonable number BECAUSE it times out and I can’t find anywhere else to change that setting.

    Any advice?

Viewing 1 replies (of 1 total)
  • paul.woodbury

    You can add this code to either your functions.php of theme or to a custom plugin on your site

    add_action('init', 'fix_upload_per_page');
    
    function fix_upload_per_page() {
        if(isset($_GET['fix'])&&$_GET['fix']=='1'){
            $user_id = get_current_user_id();
            update_user_meta($user_id, 'upload_per_page', '20');
        }
    }

    then open this URL

    http://example.com/?fix=1
    (replace example.com with your site)

    and it will replace the value from 999 to 20

Viewing 1 replies (of 1 total)
  • The topic ‘Media Library Timing Out – Set to 999 Items’ is closed to new replies.