WordPress.org

Ready to get started?Download WordPress

Forums

Help WP_Error when saving pages (60 posts)

  1. lmann
    Member
    Posted 6 years ago #

    Has anyone seen this problem. I get a

    "Fatal error: Cannot use object of type WP_Error as array in /home/public_html/wp/wp-includes/taxonomy.php on line 1010"

    whenever I save or edit a Page in WordPress 2.3. I can edit posts without a problem but the error occurs whenever I save/edit a Page.

    I have uninstalled all my plugins, re-installed wordpress and deleted all my blogroll but the problem persists!

    Thanks to whoever can help.

  2. duplemeter
    Member
    Posted 6 years ago #

    I too am getting this error - oddly only on a live version of the site. The dev site served on a local machine is not exhibiting this behavior.

    For the record I get it when editing/creating Pages or when adding images to posts (uploading media).

    Any help is appreciated.

  3. duplemeter
    Member
    Posted 6 years ago #

    A little more info - this happened under WP 2.2.1 on both live server & dev server, but after upgrading to WP 2.3 it only affects the live server.

  4. duplemeter
    Member
    Posted 6 years ago #

    And some more info - I am beginning to believe this is database related...or at least related to WP reading/accessing the database. I created a new database for the site and everything worked *except* for adding media to pages/posts. That is still the only place I am getting a WP_Error as array...

    Very troubling - I may have to move from WordPress and find an alternative.

  5. danatstadiumvolleyball
    Member
    Posted 6 years ago #

    same error - :

    Anyone recommend anything?

    Fatal error: Cannot use object of type WP_Error as array in /home/stadiumb/public_html/wp-includes/taxonomy.php on line 1010

    I have deactivated all pluggins and tried again and still no luck. http://wordpress.org/support/topic/139976?replies=3

  6. danatstadiumvolleyball
    Member
    Posted 6 years ago #

    I'm going to delete my entire site and database and start from scratch. I wish I new enough about this to know if I could restore the database or if the corruption is there or not. I will update to this topic for you guys.

  7. dubyah
    Member
    Posted 6 years ago #

    Not sure if this is the same as the problem i had, seems to be different error messages but the same behaviour.. have a look, see if this helps

  8. danatstadiumvolleyball
    Member
    Posted 6 years ago #

    I was excited to try something - anything - but it was not the fix i needed.

    Thanks for suggesting!

  9. danatstadiumvolleyball
    Member
    Posted 6 years ago #

    Followup:

    deleted my wordpress folders, deleted my database. re installed. Everything is just about back as I had it - I did not trust restoring database, re-entered everything. so far it is working. Don't know where the problem was or what happened.

  10. mlajo
    Member
    Posted 6 years ago #

    same thing here.. still cann't post.. so did andybody have any solution rather then reinstall wordpress

  11. duplemeter
    Member
    Posted 6 years ago #

    no - and a reinstall helped me with about 90% of my issues but was not a total fix (I can post & edit but cannot upload/ad images to pages or posts). Seems like a serious issue with WordPress. I'm currently investigating other options and keeping my fingers crossed that a solution is posted soon and I don't have to move to another platform.

  12. dubyah
    Member
    Posted 6 years ago #

    its not a general issue, or loads more people would be reporting it, i've done both an install of 2.3 and an u/g both fine too.

    Can I suggest you all start comparing notes on your server platform/set up etc to try n find some common cause perhaps?

  13. mlajo
    Member
    Posted 6 years ago #

    is it possible that problem is caused by PHP version 5.2.4???
    because our servers was updated to this version of php and somewere in the same time started all proplems with wordpress...

  14. Paul
    Member
    Posted 6 years ago #

    I get this problem when I try to save/publish pages and/or upload images.

  15. duplemeter
    Member
    Posted 6 years ago #

    I am running 3 WP installs on the same server, 2 work fine and 1 craps out with the referenced error. So, it's not PHP, it's not MySQL. For the record the 2 that work are *not* 2.3. One is 2.12 and the other 2.23 (I believe, maybe it was 2.22 - whatver the last 2.2x version was).

    Oddly the same v2.3 site works fine on my dev server.

    I'm going to give it one last try and delete the entire site (it's still in the staging phase) to see if that solves my issues.

    I recently blew away the DB and that solved everything except the upload of images. So...I don't know what the deal is.

    ...keeping fingers crossed...

  16. mlajo
    Member
    Posted 6 years ago #

    yepp.. situation here is the same.. i run few WP 2.3. intalation on server and only with one I have problem, it problems with upload pictures.. I'm hoping that wp. 2.3.1 update will fix that

  17. cheetahcub
    Member
    Posted 6 years ago #

    Still waiting for a fix.

  18. mlajo
    Member
    Posted 6 years ago #

    try to update to 2.3.1 but sill having same problems :(

  19. cheetahcub
    Member
    Posted 6 years ago #

    Surprisingly, after I've uploaded the old files and replace the new ones again.. it worked.. but for how long, we'll see.

  20. mlajo
    Member
    Posted 6 years ago #

    @cheetahcub
    I don't understan what you did.. what old files ??

  21. cheetahcub
    Member
    Posted 6 years ago #

    I mean.. i reuploaded my backup files and then decided to replace with 2.3 again. then it werks.. but there're still some errors uploading images.

  22. mlajo
    Member
    Posted 6 years ago #

    well.. i decided to reinstall wp :( .. and now everything is working fine :)

  23. duplemeter
    Member
    Posted 6 years ago #

    By reinstall - do you mean just the WP files or also the database?

    Did you install 2.3.1 directly or an older version.

    Thanks

  24. mlajo
    Member
    Posted 6 years ago #

    I change my table name prefix and did fresh install of Wp with my old files.. then I rename some tables to get post, links etc.. only I didn't manage to get old categories running :( but I did it manually.. now everything works just fine and, I think much faster

  25. MightySpork
    Member
    Posted 6 years ago #

    I am getting this error too. I am running 2.3.1 and it seems to have started randomly yesterday. I deactivated plugins; that didn't help. It seems that I can still post and save posts/pages, but that error makes me nervous... really don't want to do a full re-install

  26. sphism
    Member
    Posted 6 years ago #

    I'm getting this same error.

    Has anyone fixed this yet. I first got this error a week ago, since then i've reinstalled everything.

    It seems to only start after installing wp-commerce and WPG2 plugins.

    Perhaps the automatically generated pages somehow mess up the wp backend???

    Any thought on this would be very much appreciated.

    just had a quick look at taxonomy.php and the problem lies here:

    foreach ($terms as $term) {
    if ( !$id = is_term($term, $taxonomy) )
    	$id = wp_insert_term($term, $taxonomy);
    $term_ids[] = $id['term_id'];
    $id = $id['term_taxonomy_id'];
    $tt_ids[] = $id;

    but i have no idea why the terms woud be messed up??

  27. kudelka
    Member
    Posted 6 years ago #

    I'm getting the same error when I try and upload images. I installed wp-commerce too. Any thoughts?

  28. mlajo
    Member
    Posted 6 years ago #

    when I had this problem I also had installed wp-commerce, too

  29. kudelka
    Member
    Posted 6 years ago #

    I re-installed wordpress 2.3.1, but still the same problem with uploading images, so then I rather bravely (I thought) deleted all the tables that wp-commerce added. . Still the same problem. Hair is being torn out. I am soon to be bald. Any ideas anyone cleverer than me?

  30. kudelka
    Member
    Posted 6 years ago #

    My current workaround is to load the images on my other blog and link directly to it. It seems to work okay, except the text formatting gets scrambled in safari (worked okay in firefox). I have no clue as to fixing the underlying problem though.

Topic Closed

This topic has been closed to new replies.

About this Topic