WordPress.org

Ready to get started?Download WordPress

Forums

custom fields causing unresponsive script error (21 posts)

  1. fcheze2
    Member
    Posted 6 years ago #

    was running 2.5 fine, now i'm getting this error all the time.

    whenever i go into write post/pages section of my dashboard, browser would run so slow, browser would crash most of the time.

    100's of duplicates of boxes under "custom fields" section are created.

  2. khongcoai
    Member
    Posted 6 years ago #

    I got the same issue: when i write a new post, the page take at least 10 sec to load. Safari warning me that a slow script take too long. And i have 100 custom fields fill up with the data of previous post.

    If i edit a old post, everything is fine.

  3. craiger
    Member
    Posted 6 years ago #

    having same issue, but weird thing is ... blog was designed on my development site where everything works fine & still does (WP2.5.1), but when I moved everything to client's domain (WP 2.5.1) I started having this problem.

  4. Leugens
    Member
    Posted 6 years ago #

    I had the same problem.
    The error was caused by the database. I imported the posts (also existing posts). But this import also made new records in the wp_postmeta table with a postid 0.

    After running this query the problem was fixed:
    DELETE FROM wp_postmeta WHERE post_id = 0

  5. craiger
    Member
    Posted 6 years ago #

    Leugens,

    Thanks for that bit of code. Ran the query and then checked ... it cleared the problem.

  6. faboomama
    Member
    Posted 6 years ago #

    I've been having this problem for two weeks now and I've been driving myself crazy trying to figure it out. Finally got smart enough to find out where the bug was and wound up here. I did the same thing Leugens did with the importing of posts, but I have no idea how run a query. can someone give me a tip? Do I do that in myphpAdmin or whatever I'm using?

  7. faboomama
    Member
    Posted 6 years ago #

    Er...nevermind...I figured it out and it worked. I can blog again!

  8. slg70
    Member
    Posted 6 years ago #

    Thanks Leugens! This corrected the issue that I was having.

  9. scouser1
    Member
    Posted 6 years ago #

    right so how DO you query it?
    And then what?
    While I'm thankful there is a way to finally fix my site i'm now just a man with a fishing rod but no line or hook...

    I've tried searching for a guide both in these forums AND the net but not found any as of yet. CONFUSION!

  10. slg70
    Member
    Posted 6 years ago #

    scouser..

    I'm going to assume that you are able to do this, and comfortable to go into your pHpMyAdmin. Once in, locate your database that WordPress is installed on. Click. On the next page you will see a structure with tables. The one that you are looking for is called wp_postmeta. Now, click on the Browse icon for wp_postmeta. On this next page click on the post_id to arrange it so that it is showing "0" as the post id. Then tick the check box, and click delete. I found the easiest way for me was to show more than 30 rows, then they were all showing as "0", I was able to "check all" hit delete and this way it was not one delete at a time.

    This is just how I did it. Someone out here may have an easier method, but this worked for me. Just be sure to delete ONLY those with a post_id of "0" .. and if you're not comfortable doing this.. then don't.

    Disclaimer: These directions are as-is and I take no responsibility once someone decides to go into their pHpMyAdmin. I'm simply trying to show what I did to correct this for me.

    Good luck!

  11. liberalgeek
    Member
    Posted 6 years ago #

    Leugens, you are my hero. I think my install was screwed up since my initial import, but it became more pronounced once I upgraded to 2.5.1.

  12. scouser1
    Member
    Posted 6 years ago #

    Thanks for the help and informative guide guys ^^ Problem solved.

  13. LydiaLeibs
    Member
    Posted 6 years ago #

    I can verify that this problem exists upon importing. I have duplicated the error three separate times now. I haven't tried the "fix" yet, but am wondering if anyone is working on debugging the code that causes the problem in the first place rather than cleaning up the database after it happens.

  14. KathEats
    Member
    Posted 6 years ago #

    I just upgraded to 2.5.1 today, and I am having the same unresponsive script problem.

    I have Blue Host and use Firefox, but the problem occurs in any browser. My flash image uploader freezes when I push "upload image" and when I load the "Write Page" page it freezes momentarily and says "unresponsive script."

    I have no idea where pHpAdmin is, but I know how to access my wp-admin files. Is it in there somewhere? I've looked everwhere for the postmeta file.

    Thank you for any help!

  15. slg70
    Member
    Posted 6 years ago #

    KathyEats: pHpMyAdmin is not part of WordPress. It's part of your cPanel (control panel) and you can locate it through your host.

  16. KathEats
    Member
    Posted 6 years ago #

    SLG - I found the pHpMyAdmin, found the wp_postmeta file. Found the postid stuff, but I don't feel confident deleting anything because I think my Blue Host admin area looks different than the situation you described above. Any advice on this? Should I hire a computer whiz in my town to come help me?

    Thanks for your help!

  17. KathEats
    Member
    Posted 6 years ago #

    SGL - I called my host and he handled the post_id for me. But I am still unable to insert photos. The flash screen freezes every time I push insert photo. Any ideas on that problem? I had hoped it was related to the unresponsive script but I guess not.

    Kath

  18. slg70
    Member
    Posted 6 years ago #

    Kath. Glad to hear your host helped you out. Regarding the freeze issue, I am not having any problems, so am unable to help you. But.. there is a thread on the issue here: http://wordpress.org/support/topic/164563

  19. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    Leugens. Thanks for sharing your solution. Worked very well, cool!

  20. CzechFolks
    Member
    Posted 5 years ago #

    Thanks, Leugens, it helped to solve my problem too! :-)

  21. suburose
    Member
    Posted 5 years ago #

    and what happens if you don't have access to pHpMyAdmin?

Topic Closed

This topic has been closed to new replies.

About this Topic