• An installation was broken and I am almost finished recovering it.

    The (almost) final problem is that the media library is visible in list view but in grid view there is a single blank thumbnail and the loading icon spins for a while but the thumbnails never appear.

    I have created a fresh install of 4.7.4 copying only wp-config.php and wp-content to the new install.

    Can’t think of anything else. I have searched for a solution with no luck.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter SpeakOut!

    (@123host)

    FWIW I also disabled all plugins by renaming the plugins directory, no joy there either.

    I am having this same problem in the Image Library. In grid view I have several blank gray thumbnails. If I click one, I’ll get the media information for it: title, caption, alt, size, etc. but no display of the image. I can still insert it into my post or page but not sure if that is the one I want until I see it in the post. This was happening in WP 4.7.3 and is still happening in 4.7.4.

    Thread Starter SpeakOut!

    (@123host)

    For the benefit of anyone wanting to solve this, please don’t think my issue is the same as sleeplessinDC.

    In grid view I am only seeing a single blank thumbnail with no meta despite there being hundreds of images, all of them visible in list view.

    Could you enable debug log and check for any errors?

    To enable debug log, open your wp-config.php file and update/add define(‘WP_DEBUG’, true);

    Thread Starter SpeakOut!

    (@123host)

    Thanks for the response.

    Not only did I enable define(‘WP_DEBUG’, true); I also enabled define(‘WP_DEBUG_LOG’, true);

    There is loads of output, here are the recurring errors:

    [23-Apr-2017 17:57:40 Australia/Melbourne] PHP Notice: Trying to get property of non-object in /home/camillaf/public_html/example.com/wp-content/plugins/types/library/toolset/types/embedded/classes/loader.php on line 91

    [23-Apr-2017 17:53:50 Australia/Melbourne] PHP Notice: Trying to get property of non-object in /home/camillaf/public_html/example.com/wp-admin/includes/class-wp-media-list-table.php on line 372

    [23-Apr-2017 17:53:50 Australia/Melbourne] PHP Notice: Trying to get property of non-object in /home/camillaf/public_html/example.com/wp-admin/includes/template.php on line 1757

    [23-Apr-2017 17:53:50 Australia/Melbourne] PHP Notice: Trying to get property of non-object in /home/camillaf/public_html/thealimentalsage.com/wp-admin/includes/class-wp-media-list-table.php on line 397

    @moderator, I apologize. Moderator, please delete my reply on this thread. I have opened my own thread.

    This is occurring in a brand new install of 4.7.4, no data, plugins, default theme, etc.

    It appears to be Grid View specifically that is causing it.

    I found the topic linked here first and posted on it. tl;dr you have two method for currently accessing the Media->Library:

    A) Try https://yourdomain.com/wp-admin/upload.php?mode=list to see if it forces it to load.
    B) Add this to your wp-config.php: define( 'SCRIPT_DEBUG', true );

    It’s a workaround, not a fix.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can see media in list view but not grid view’ is closed to new replies.