Support » Fixing WordPress » Media library does not load and cannot update WP

  • backburner

    (@backburner)


    I can only see my media files in list mode, not in Grid Mode. This is preventing me from using the HugeIT portfolio gallery plugin, as it only show files in gallery mode. I deactivated ALL my plugins and the problem still exists.

    Also, WP version 4.8.2 fails to update. I have tried multiple times.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.wordpress.org/Debugging_in_WordPress

    If you cannot access wp-admin, there are other ways to deactivate plugins.

    Thread Starter backburner

    (@backburner)

    I activated debug. Tried to update to 4.8.2 again and got this error:

    Fatal error: Call to undefined function wp_doing_cron() in \\BOSWINFS01\HOME\users\web\b403\ywh.logodesigngroup\wp-admin\includes\file.php on line 776

    A look at that file gave me this at line 776+:
    if ( wp_doing_cron() ) {
    $available_space = @disk_free_space( WP_CONTENT_DIR );
    if ( $available_space && ( $uncompressed_size * 2.1 ) > $available_space )
    return new WP_Error( ‘disk_full_unzip_file’, __( ‘Could not copy files. You may have run out of disk space.’ ), compact( ‘uncompressed_size’, ‘available_space’ ) );
    }

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Check with your host. Have you hit a disk space quota?

    Thread Starter backburner

    (@backburner)

    Not even close

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    OK, let’s focus on Call to undefined function wp_doing_cron()

    Please do a manual update for WordPress to make sure all files are really there:
    https://codex.wordpress.org/Updating_WordPress#Manual_Update

    Thread Starter backburner

    (@backburner)

    Well, I did the manual update and now I cannot access the site at all.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    I see a 500 error. Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.wordpress.org/Debugging_in_WordPress

    You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you cannot access wp-admin, there are other ways to deactivate plugins.

    Thread Starter backburner

    (@backburner)

    Here’s the error on the log:

    PHP Fatal error: require_once(): Failed opening required ‘\\BOSWINFS01\HOME\users\web\b403\ywh.logodesigngroup/wp-includes/widgets/class-wp-widget-media.php’ (include_path=’.;C:\php\pear’) in \\BOSWINFS01\HOME\users\web\b403\ywh.logodesigngroup\wp-includes\default-widgets.php on line 23

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    It looks like some WP files may be missing. Do a manual update to ensure they’re all there. https://codex.wordpress.org/Updating_WordPress#Manual_Update

    Thread Starter backburner

    (@backburner)

    I reinstalled my old wp files. Still unable to update to new version of WP

    • This reply was modified 5 years ago by backburner.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Media library does not load and cannot update WP’ is closed to new replies.