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

前端 未结 23 629
别跟我提以往
别跟我提以往 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:39

    I just had this and it was a file / directory ownership issue. Fixed via SSH and changing the ownership recursively (-R):

    chown -R ownerID:groupID /home/mydirectory/website

    Change ownerID, groupID and filepath to be relevant to your own situation.

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

    In my case, wp-admin/post.php blank screen was fixed by removing the " ?> " at the end of my function.php in my child theme. I don't know how the end tag ended in there, but removing it solved my problems.

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

    Had this same issue after changing the PHP version from 5.6 to 7.3 (eaphp73). So what I did was I simply changed the version to alt-php74.

    So what's the problem? Probably a plugin that relied on a certain PHP extension that wasn't available on eaphp73.

    Before you touch any wordpress files, just try changing your site's PHP version. You can do this in the cPanel.

    And if that doesn't work, go back into the cPanel and activate every PHP extension there is. And if your site starts working at this stage, then it's probably an extension it couldn't function without. Now slowly work backwards deactivating (one at a time) ONLY the extensions you just activated.

    You should be able to figure out which extension was the required feature.

    Can it be a plugin that's causing the issue? Certainly. Maybe the rogue plugin just wanted that extra extension.

    If changing the PHP version, and juggling with the PHP extensions didn't work, then try renaming (which automatically deactivates) one plugin folder at a time.

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

    My case was that I had generated code for three custom content types and then just pasted all the code in functions.php without renaming the "function custom_post_type" part of each function. After renaming like e.g "function employees", it worked like a charm....it displayed.

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

    first of all check your internet its connect!

    second is turn on WP_DEBUG and write this codes in wp-config.php

    define('WP_DEBUG',true);
    error_reporting('E_ALL');
    ini_set('display_errors',1);
    

    third is rename themes and plugins folder that in wp-content folder to other name sush as

    pluginss , themess

    S F my english!

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