Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: White Screen of Death after WP update

Discussion in 'Misc WordPress Requests' started by mr108, Jan 29, 2018.

  1. mr108

    Guest

    Reply To: White Screen of Death after WP update, by mr108

    So what I did so far is:

    Made a test update of WP from v.4.9.1 to v. 4.9.2 on another site of mine that previously had the same problem and I had to update it manually to 4.9.1.
    This is the site: http://108.iblogger.org/

    I added these lines to wp-config.php file:

    define(‘WP_DEBUG’, true);

    // Enable Debug logging to the /wp-content/debug.log file
    define( ‘WP_DEBUG_LOG’, true );

    // Disable display of errors and warnings
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );

    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( ‘SCRIPT_DEBUG’, true );

    then created a php.ini file inside wp-admin directory (I’m not sure if that was the idea to do) with these:
    error_reporting = E_ALL | E_STRICT
    error_log = /var/log/php_error.log

    then I tried to update WP to latest version and got this:
    “Briefly unavailable for scheduled maintenance. Check back in a minute.
    Are you sure you want to do this?
    Please try again.”

    When clicking on that link ‘Please try again’ nothing happened, same page appeared, so I opened the Dashboard in another page, and no update was done.

    Then I disabled all the plugins and all the themes running only on the default Twenty Fifteen theme and the update succeeded.
    Re-enabled the plugins and reverted to Anima theme and it works OK.

    Nothing was recorded in the debug.log file but before the whole operation I installed two debugging plugins: Debug Bar and Query Monitor and got these warnings which I’m not able to understand anyway:

    WARNING: wp-admin/includes/class-wp-automatic-updater.php:98 – is_dir(): open_basedir restriction in effect. File(/home/vol2_1/byethost6.com/b6_16731528/108.iblogger.org/.svn) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol2_1/byethost6.com/b6_16731528/108.iblogger.org/htdocs)
    core_upgrade_preamble, WP_Automatic_Updater->should_update, WP_Automatic_Updater->is_vcs_checkout, is_dir
    WARNING: wp-admin/includes/class-wp-automatic-updater.php:98 – is_dir(): open_basedir restriction in effect. File(/home/vol2_1/byethost6.com/b6_16731528/.svn) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol2_1/byethost6.com/b6_16731528/108.iblogger.org/htdocs)
    core_upgrade_preamble, WP_Automatic_Updater->should_update, WP_Automatic_Updater->is_vcs_checkout, is_dir

    open_basedir restriction in effect. File(/home/vol2_1/byethost6.com/b6_16731528/108.iblogger.org/.svn) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol2_1/byethost6.com/b6_16731528/108.iblogger.org/htdocs)
    core_upgrade_preamble, WP_Automatic_Updater->should_update, WP_Automatic_Updater->is_vcs_checkout, is_dir

    WARNING: wp-admin/includes/class-wp-automatic-updater.php:98 – is_dir(): open_basedir restriction in effect. File(/home/vol2_1/byethost6.com/b6_16731528/.svn) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol2_1/byethost6.com/b6_16731528/108.iblogger.org/htdocs)
    core_upgrade_preamble, WP_Automatic_Updater->should_update, WP_Automatic_Updater->is_vcs_checkout, is_dir

    Warning (Suppressed) disk_free_space() has been disabled for security reasons 1 wp-content/plugins/updraftplus/admin.php:897

    do_action(‘admin_menu’)
    wp-admin/includes/menu.php:149
    UpdraftPlus->admin_menu()
    wp-includes/class-wp-hook.php:286
    UpdraftPlus_Admin->__construct()
    wp-content/plugins/updraftplus/admin.php:8
    UpdraftPlus_Admin->admin_init()
    wp-content/plugins/updraftplus/admin.php:21
    UpdraftPlus_Admin->setup_all_admin_notices_global()
    wp-content/plugins/updraftplus/admin.php:381
    UpdraftPlus_Admin->disk_space_check()
    wp-content/plugins/updraftplus/admin.php:223
    disk_free_space()
    wp-content/plugins/updraftplus/admin.php:897

    Plugin: updraftplus

    is_dir(): open_basedir restriction in effect. File(/home/vol2_1/byethost6.com/b6_16731528/108.iblogger.org/.svn) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol2_1/byethost6.com/b6_16731528/108.iblogger.org/htdocs) 1 wp-admin/includes/class-wp-automatic-updater.php:98

    core_upgrade_preamble()
    wp-admin/update-core.php:622
    WP_Automatic_Updater->should_update()
    wp-admin/update-core.php:176
    WP_Automatic_Updater->is_vcs_checkout()
    wp-admin/includes/class-wp-automatic-updater.php:144
    is_dir()
    wp-admin/includes/class-wp-automatic-updater.php:98

    Plugin: debug-bar

    ———

    Then I updated one of the plugins and got this warning:

    WARNING: wp-admin/includes/class-wp-upgrader.php:450 – set_time_limit() has been disabled for security reasons
    require_once(‘wp-admin/admin.php’), do_action(‘appearance_page_anima-addons’), WP_Hook->do_action, WP_Hook->apply_filters, TGM_Plugin_Activation->install_plugins_page, TGM_Plugin_Activation->do_plugin_install, Plugin_Upgrader->upgrade, WP_Upgrader->run, WP_Upgrader->install_package, set_time_limit

    So after this whole exercise I’m still not sure what works and what does not and if I will be able to just update the future WP versions automatically without disabling the plugins and themes etc.

    Will appreciate any feedback on this.

    Thanks

    Marek

    Reply To: White Screen of Death after WP update
     
    #1

Share This Page

Monarch Social Sharing Plugin