WordPress.org

Ready to get started?Download WordPress

Forums

Cannot use stdclass (3 posts)

  1. tedfox
    Member
    Posted 8 years ago #

    # 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.

  2. blueorder
    Member
    Posted 8 years ago #

    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

  3. Ryan Boren
    WordPress Dev
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags