Title: Problems with code in WP 3.1.3
Last modified: August 20, 2016

---

# Problems with code in WP 3.1.3

 *  Resolved [ime40se](https://wordpress.org/support/users/ime40se/)
 * (@ime40se)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/problems-with-code-in-wp-313/)
 * When I finally got in, I had this problem in the media sector of the admin panel:
   Warning: explode() expects parameter 2 to be string, array given in C:\xampp\
   htdocs\wordpress\wp-includes\query.php on line 2390
    Warning: in_array() expects
   parameter 2 to be array, null given in C:\xampp\htdocs\wordpress\wp-includes\
   query.php on line 2399
 * Does anyone know how to change this?
 * Marie

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/problems-with-code-in-wp-313/#post-2113506)
 * Your upgrade may not have completed successfully.
    Try: – switching to the Twenty
   Ten theme by renaming your current theme’s folder in wp-content/themes using 
   [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management application
   your host provides.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or phpMyAdmin.
 * – re-uploading all files & folders – **except** the wp-content folder – from 
   a **fresh** download of WordPress.
 * – re-running the upgrade manually using wp-admin/upgrade.php.
 *  Thread Starter [ime40se](https://wordpress.org/support/users/ime40se/)
 * (@ime40se)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/problems-with-code-in-wp-313/#post-2113617)
 * I can upload all files & folders again, but I downloaded the newest version of
   WP I think, 3.1.3, the Swedish version from the Swedish wp-page. I got the same
   problem before, when I uploaded 3.1.3 SW on an older version of WP on another
   server some months ago. Could there be a bug in the system and is there anybody
   who knows how to fix it? Thanks anyway, I will try some of your suggestions.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/problems-with-code-in-wp-313/#post-2113619)
 * What version where you upgrading from?
 *  [ionrane](https://wordpress.org/support/users/ionrane/)
 * (@ionrane)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/problems-with-code-in-wp-313/#post-2113759)
 * Try installing this:
    [http://wordpress.org/extend/plugins/hotfix/](http://wordpress.org/extend/plugins/hotfix/)
 * It solved the same problem I had ! 🙂
 * I found the solution at:
    [http://wordpress.org/support/topic/media-library-issue?replies=4#post-2158700](http://wordpress.org/support/topic/media-library-issue?replies=4#post-2158700)

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

The topic ‘Problems with code in WP 3.1.3’ is closed to new replies.

## Tags

 * [arrays](https://wordpress.org/support/topic-tag/arrays/)
 * [php code](https://wordpress.org/support/topic-tag/php-code/)
 * [strings](https://wordpress.org/support/topic-tag/strings/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [ionrane](https://wordpress.org/support/users/ionrane/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/problems-with-code-in-wp-313/#post-2113759)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
