• I have four themes in my theme folder: Twenty-Thirteen, Twenty-Fourteen, Graphene, and a Graphene child theme (the one that is active). I’ve tested this by activating the 2013 and 2014 themes, and it still happens.

    I can check on my site one day and it’ll be just a white screen because for some reason no theme is active. I activate any of the themes, and after a while (have not yet determined hours or days) no theme is active. I have to go back and re-activate it.

    I’ve deactivated some plugins (can’t leave them all inactive for a week — opens security risks), but there’s no noticeable change.

    This is quite annoying. It doesn’t happen on another site I manage, our church’s site, which uses the same theme, the only real difference is aesthetics and a few plugins specific to the church (e.g., a sermon plugin).

    URL in question: https://www.jrothraministries.com

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – deactivating ALL plugins temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can’t get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application your host provides. If applicable, also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default, core-bundled Theme (such as Twenty Twelve, Twenty Thirteen or Twenty Fourteen) for a moment using the WP dashboard to rule out any theme-specific issue. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).
    – If the above troubleshooting steps fail to resolve the issue, try manually re-uploading all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. Read the Manual Update directions first!
    Always backup everything (including your database) before doing any actions, just in case.

    Thread Starter jrothra

    (@jrothra)

    Tara,

    As I said in the OP, it happened with the default themes 2013 and 2014 active, so that option was already tested and found to be not a theme-related issue. Since I don’t know how long it’s taking for them theme to become unactivated, my tests of up to an hour of no plugins active is not revealing — it may take three days before the theme is unactivated, but I can’t wisely leave all plugins inactive as it opens security risks.

    John

    Thread Starter jrothra

    (@jrothra)

    It did it again, this time it was about 2 weeks or so before it did this. Such long delays means I cannot just cancel plugins for weeks on end.

    Thread Starter jrothra

    (@jrothra)

    The site did it AGAIN! I know it’s not a bad plugin. I manage two blogs and each uses both the same theme and the same exact plugins. One site has this theme problem (described above), and the other never has this problem. I can’t figure out what it is and I can’t predict when it will happen. VERY VERY VERY annoying!

    Moderator t-p

    (@t-p)

    – Check the error logs on your server for a more specific error message. If you need help locating them, ask your hosting provider to help you with that.

    Thread Starter jrothra

    (@jrothra)

    Found something, but I have no idea what it means or how to fix it. The error log states this when the theme disappears:

    [15-Apr-2014 16:21:18 UTC] PHP Warning: implode() [function.implode]: Invalid arguments passed in /home/jrothra/public_html/blog/wp-includes/class-wp-theme.php on line 675

    First, I’m not sure what that file does. Second, here’s the code for that file on Gist: https://gist.github.com/anonymous/10746932

    How do I fix this (BTW — I’m not a coder).

    Thread Starter jrothra

    (@jrothra)

    Moderator t-p

    (@t-p)

    I tried updating some files as per these instructions

    Not some files, but try MANUALLY re-uploading ALL files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. Read the Manual Update directions first!

    Thread Starter jrothra

    (@jrothra)

    Not some files, but try MANUALLY re-uploading ALL files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress.

    Tara, What you stated was in the instructions to which I linked. I didn’t recite all of them because doing so was unnecessary.

    For clarification, however, here’s what the other post states and the conversation that follows indicating what I did:

    Try re-uploading all files & folders – except the root wp-config.php & .htaccess files and the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. — posted by esmi

    I tried replacing the class-wp-theme.php file with one from a fresh download of WordPress, but the white screen, no-theme-chosen reoccurred. I’m uploading a fresh version of all the rest like esmi said above. I didn’t delete the old files, but I’m overwriting them via FileZilla. — posted by jrothra

    Please re-read my suggestion above. — posted by esmi

    I deleted all files to be re-uploaded. After deleting, I uploaded the fresh versions from a new download of WP. Now it’s a matter of waiting and seeing. — posted by jrothra

    As you can see, just as I stated in my post above, I followed the instructions per what was posted in that thread.

    Moderator t-p

    (@t-p)

    Have you discussed this issue with your hosting provider?

    Thread Starter jrothra

    (@jrothra)

    Tara, as I posted:

    Now it’s a matter of waiting and seeing.

    Thus I am now waiting and seeing since this problem occurs intermittently, not regularly.

    Thread Starter jrothra

    (@jrothra)

    I tried Tara’s recommendation of deleting files and uploading them again from a fresh download of WP. Yet, this has occurred multiple times AGAIN! Very annoying!!!!!

    Each time I have to re-set all the widgets besides re-activating the theme.

    I suggest you have a word with your hosts about this. Sounds like there’s a problem on their servers.

    Hi John! I suppose I should have joined this forum previously, as many WordPress sites as we host at MediaServe. I figured I’d register today and help you out here, now that you have a public discussion going about this weird issue you’re having.

    I should point out that you do not need to fear disabling any security related plugin. In fact, we PREFER that you do not run any at all. Just follow the steps to harden WordPress (other than using plugins), as our abuse detection system will automatically null route IP addresses that are brute force attacking WordPress (or Joomla, or [insert popular CMS here.])

    My first thought about your issue is that it would be very odd for this to be a hosting/server problem. In order for your theme to be deactivated I believe a modification would have to be done to one or more of the theme related options in the wp_options table, or files in the theme’s directory would have to be messed with (or both). This isn’t something that is just going to happen randomly because of a server issue.

    My guess is this could be a code issue somewhere in a plugin or theme, or perhaps even malicious activity of some kind.

    You may want to look at your wp-admin/error_log file as there are some warnings and sql errors there going back to June 16th, and as recent as today July 3rd. They may be totally unrelated, but you will want to look over them regardless in case something is amiss.

    This could be a tough nut to crack given that it seems to take time to happen. One thing we can try is to take a snapshot of the wp_options table and the theme directory when everything is good, then put a 1-minute content based monitor on your site to immediately catch the change (we have the facilities for this no need for you to have to bother with it), and when the theme gets deactivated we can look for changes to the wp_options table or theme and also look at http activity for the time to see if we can see anything suspicious.

    I can arrange the details with you via your support ticket.

    W. Troy Leaver
    MediaServe.com

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Theme active, but somehow unactivates itself leaving white screen’ is closed to new replies.