Need Some help/advice with WP error

Discussion in 'WordPress' started by kentuckyslone, Jan 2, 2009.

  1. #1
    I am working on a new WP blog and when I go to a category I get:

    Any ideas on what is causing this to happen?
     
    kentuckyslone, Jan 2, 2009 IP
  2. azlanhussain

    azlanhussain Active Member

    Messages:
    640
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Did you installed any plugins recently..
     
    azlanhussain, Jan 2, 2009 IP
    kentuckyslone likes this.
  3. kentuckyslone

    kentuckyslone Notable Member

    Messages:
    4,371
    Likes Received:
    367
    Best Answers:
    0
    Trophy Points:
    205
    #3
    Yes, I just set up the blog yesterday with these plugins:

    Akismet
    All in One SEO
    Google XML Sitemaps
    Wordpress stats
    WP Super Cache
    Amazon Showcase
    Secure and Accessible PHP Contact Form
    Ad-minister
    Wordpress Automatic Upgrade
    Commentluv
    KeywordLuv
    NoFollow Free
    WordPress Uniquefier
     
    kentuckyslone, Jan 2, 2009 IP
  4. Karen May Jones

    Karen May Jones Prominent Member

    Messages:
    3,469
    Likes Received:
    290
    Best Answers:
    1
    Trophy Points:
    380
    #4
    Try it with a different template and see what happens.
     
    Karen May Jones, Jan 2, 2009 IP
    kentuckyslone likes this.
  5. kentuckyslone

    kentuckyslone Notable Member

    Messages:
    4,371
    Likes Received:
    367
    Best Answers:
    0
    Trophy Points:
    205
    #5
    OK, I tries a couple different themes and the error did not occur so it must be something to do with archive.php in this theme?

    If so here is what that code looks like:

     
    kentuckyslone, Jan 2, 2009 IP
    JoyGoRound likes this.
  6. azlanhussain

    azlanhussain Active Member

    Messages:
    640
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #6

    Does the error appears in the page itself or in a pop-up alert box.. coz it seams like a javascript error to me..
     
    azlanhussain, Jan 2, 2009 IP
  7. kentuckyslone

    kentuckyslone Notable Member

    Messages:
    4,371
    Likes Received:
    367
    Best Answers:
    0
    Trophy Points:
    205
    #7
    It appears on the page itself. Here is how the content on the category page looks:

     
    kentuckyslone, Jan 2, 2009 IP
  8. azlanhussain

    azlanhussain Active Member

    Messages:
    640
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #8
    try remark this line <?php the_excerpt(); ?> to <!--?php the_excerpt(); ? -->

    and see whether the error still appears.. if no more then it might have caused by the the_excerpt() function..
     
    azlanhussain, Jan 2, 2009 IP
  9. kentuckyslone

    kentuckyslone Notable Member

    Messages:
    4,371
    Likes Received:
    367
    Best Answers:
    0
    Trophy Points:
    205
    #9
    Yes, that got rid of the error. This is very odd because several other themes I am using all have that same peice of code in the archive.php and they work fine
     
    kentuckyslone, Jan 2, 2009 IP
  10. azlanhussain

    azlanhussain Active Member

    Messages:
    640
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #10
    I guess now you need to study the function and see whether it's conflicting with the other themes functions itself..

    Anyway this sort of errors are normal, especially if the theme was not properly done in the first place..
     
    azlanhussain, Jan 2, 2009 IP
  11. kentuckyslone

    kentuckyslone Notable Member

    Messages:
    4,371
    Likes Received:
    367
    Best Answers:
    0
    Trophy Points:
    205
    #11
    Thanks a lot for taking the time to help man, I appreciate it. I will try to dig through the code and see if I can figure out what might be different.
     
    kentuckyslone, Jan 2, 2009 IP
  12. azlanhussain

    azlanhussain Active Member

    Messages:
    640
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #12
    no worries.. just gemme a buzz if u need any..
     
    azlanhussain, Jan 2, 2009 IP