Title: &quot;PHP Warning: implode() [function.implode]&quot; in &quot;/wp-includes/class-wp-theme.php&quot;
Last modified: August 21, 2016

---

# "PHP Warning: implode() [function.implode]" in "/wp-includes/class-wp-theme.php"

 *  [jrothra](https://wordpress.org/support/users/jrothra/)
 * (@jrothra)
 * [12 years ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/)
 * This error shows up in my php log whenever WordPress deselects a theme, resulting
   in a white screen.
 * Here’s the code (on Gist) to that file: [https://gist.github.com/anonymous/10746932](https://gist.github.com/anonymous/10746932)
 * I’m not a coder and looking at the code makes no sense to me. Anyone know what’s
   causing it.
 * My website: [http://www.johnrothra.com](http://www.johnrothra.com)
 * BTW, I have the same plugins on another site I manage. Both use the same theme,
   both hosted by the same company and, I believe, both on the same server. The 
   other site does not have this problem at all.
 * I’ve tried deactivating plugins but it does not affect this — so it’s not plugins.
   I’ve tried using the default themes (2012, 2013, etc.) and it still does this.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4835991)
 * 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.
 *  Thread Starter [jrothra](https://wordpress.org/support/users/jrothra/)
 * (@jrothra)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4836279)
 * 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.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4836280)
 * Please re-read my suggestion above.
 *  Thread Starter [jrothra](https://wordpress.org/support/users/jrothra/)
 * (@jrothra)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4836281)
 * I did re-read it after I tried replacing one file. The only thing I didn’t do
   is delete the files. Instead, I’m overwriting them (nearly 1,000 files between
   everything).
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4836282)
 * > Make sure that you delete the old copies of files & folder before uploading
   > the new ones.
 *  Thread Starter [jrothra](https://wordpress.org/support/users/jrothra/)
 * (@jrothra)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4836283)
 * Overwrite via ftp vs. delete — does it make a difference?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4836284)
 * Yes. Over-writing may not be sufficient. That why we specifically state “Make
   sure that you delete the old copies of files & folder before uploading the new
   ones. “.
 *  Thread Starter [jrothra](https://wordpress.org/support/users/jrothra/)
 * (@jrothra)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4836285)
 * 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.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘"PHP Warning: implode() [function.implode]" in "/wp-includes/class-wp-
theme.php"’ is closed to new replies.

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [implode](https://wordpress.org/support/topic-tag/implode/)
 * [theme disappears](https://wordpress.org/support/topic-tag/theme-disappears/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [jrothra](https://wordpress.org/support/users/jrothra/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-implode-functionimplode-in-wp-includesclass-wp-themephp/#post-4836285)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
