Title: Cannot use stdclass
Last modified: August 18, 2016

---

# Cannot use stdclass

 *  [tedfox](https://wordpress.org/support/users/tedfox/)
 * (@tedfox)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-use-stdclass/)
 * # id=(“|)(\d+)\1#i
    Fatal error: Cannot use object of type stdClass as array 
   in D:\server\xampp\htdocs\wordpress2\wp-includes\functions-post.php on line 382
 * I get that error when i try to publish locally on a xampp install using php5.0
   and winxp when i drag and drop images. (entries without images are fine)
 * A brief search showed that this problem occurred with php 5 long ago, but wp 
   later had no problems with php5. So uh. any suggestions?
 * using 2.0 beta 2.

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

 *  [blueorder](https://wordpress.org/support/users/blueorder/)
 * (@blueorder)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-use-stdclass/#post-286250)
 * I have the same error when drag-dropping image. My site runs on hosted space 
   using Apache 1.3.33 & PHP 5.0.4 on a test installation of WP 2.0 B2.
 * Here’s the actual error:
 * `# id=("|)(d+)1#i # id=("|)(d+)1#i
    Fatal error: Cannot use object of type stdClass
   as array in /test.myhost.com/wp-includes/functions-post.php on line 382
 * Thanks
 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-use-stdclass/#post-286394)
 * [http://trac.wordpress.org/changeset/3200](http://trac.wordpress.org/changeset/3200)

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

The topic ‘Cannot use stdclass’ is closed to new replies.

## Tags

 * [stdClass](https://wordpress.org/support/topic-tag/stdclass/)

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 2 replies
 * 3 participants
 * Last reply from: [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-use-stdclass/#post-286394)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
