wp-admin shows blank page, how to fix it?

前端 未结 23 628
别跟我提以往
别跟我提以往 2021-02-02 13:14

I am working with WordPress 3.5.8. Yesterday I made some changes into it to a friend. I don\'t know what happened, but after some time when I try to log in at wp-admin side and

相关标签:
23条回答
  • 2021-02-02 13:25

    It might be because of a few reasons:

    1. Problems in your web host.
    2. Theme related errors(You can change it by renaming theme folder).
    3. Plugin related errors(You can change it by renaming plugin folder).
    4. An Empty line in your wp-config file.
    5. Code errors that can be seen by enabling Debug mode.

      "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 );"

    6. Remove blank space in functions.php or you can also remove the last "?>"
    0 讨论(0)
  • 2021-02-02 13:26

    i have wasted a lot of time to solve it , But the only solution i find is to rename your word press plugins folder and active theme , and your wp-admin will be visible , so then you can change and check for suspected plugin or theme.

    0 讨论(0)
  • 2021-02-02 13:27

    All your problem is solved right now just follow this instruction:

    1. go to your themes then de activate your current theme, just put "x" in the the first letter of your theme name.

    for example this is your theme folder name: "mytheme" just put "x" in the first letter like this "xmytheme" tho di activate.

    1. Then after that go back to your wp-admin panel then BOOM! wp-admin accessable.

    2. When you access your wp-admin panel or you are on your dashboard, again activate your theme again, but before that. REMOVE THE "X" letter you putted in your theme name. example: "xmytheme" just remove "x", output like this: "mytheme"

    3. then activate it in your dashboard.

    hope this help!.

    0 讨论(0)
  • 2021-02-02 13:28

    I found following solution working as I was using older version of wordpress.

    1. Open file blog/wp-admin/includes/screen.php in your favorite text editor.
    2. on line 706 find the following PHP statement: <?php echo self::$this->_help_sidebar; ?>
    3. Replace it with the statement: <?php echo $this->_help_sidebar; ?>
    4. Save your changes.
    0 讨论(0)
  • 2021-02-02 13:30

    I ran into the same problem a few minutes ago, the problem was when I uploaded my local theme I had a bunch of tags separating each function I had in there I solved this by putting all the functions in one php tag... Hope this helps.

    0 讨论(0)
  • 2021-02-02 13:32

    I was also facing same problem but i renamed contact-form-7 plugin from /wp-content/plugins directory to contact-form-7-rename and problem solved.

    So this is due to unsupportable plugins or theme.

    0 讨论(0)
提交回复
热议问题