Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter jakelowen

    (@jakelowen)

    Fixed it – I couldnt figure it out in my current code, so I just re-uploaded fresh wordpress files and that seemed to fix it. Something must have got curropted along the line.

    Thread Starter jakelowen

    (@jakelowen)

    Thanks for the try srikat. I love the plugin, but when I install it, and call the function after the loop, I get the same old error.

    It must be my wp-includes/template-functions-links.php is really messed up and anything that uses it is as well.

    for more info on the error see my previous post http://wordpress.org/support/topic/70693?replies=8

    Forum: Fixing WordPress
    In reply to: SQL database error
    Thread Starter jakelowen

    (@jakelowen)

    I am closing this post and making a new one that is more specific to my new problem.

    Thanks everyone!

    Forum: Fixing WordPress
    In reply to: SQL database error
    Thread Starter jakelowen

    (@jakelowen)

    Got it! I found the solution below:

    The problem and the way akamanu.com PHP Certified Web Developer fixed:

    Inside the file wp-includes/template-functions-links.php there is the following instruction around line 500:

    $numposts = $wpdb->get_var(”SELECT COUNT(DISTINCT ID) FROM $fromwhere”); However the variable $fromwhere is not always initialized when the instruction is executed.

    So we have changed the instruction to:

    if(isset($fromwhere)){ $numposts = $wpdb->get_var(”SELECT COUNT(DISTINCT ID) FROM $fromwhere”);}else{
    $numposts = 0;}

    Now, I only have one more question – How do i get next/previous links on my archive pages?

    Forum: Fixing WordPress
    In reply to: SQL database error
    Thread Starter jakelowen

    (@jakelowen)

    Thanks handy –

    I tried disabling all of them – to no avail.

    i was running podpress, skippy.net’s backup and cron plugins.

    Forum: Fixing WordPress
    In reply to: SQL database error
    Thread Starter jakelowen

    (@jakelowen)

    As i investigate more I see that the error occurs on all pages (main page, monthly archives, and other added wordpress pages) but does not occur on a particular posts permalink –

    Does that help narrow it down for anybody?

    Forum: Fixing WordPress
    In reply to: SQL database error
    Thread Starter jakelowen

    (@jakelowen)

    Still unresolved.. Anyone have an idea where to start tinkering to fix this problem?

    Forum: Fixing WordPress
    In reply to: Atom feed is blank
    Thread Starter jakelowen

    (@jakelowen)

    Nevermind. It’s still not working, but I no longer care. I switched some text in the header so the default feed is now RSS and my site is now playing with Technorati just fine.

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