Support » Plugins » Upgrade 2.01 Causes Admin Problems with Autometa Plugin

  • I did an automatic upgrade with Dreamhost, then updated the DB by following clicking the links in admin.

    Now when I save a draft I get MYSQL errors, but they seem to be a little different each time. Here’s one:

    Warning: uasort(): Invalid comparison function. in /location/wp-content/plugins/autometa.php on line 73

    Warning: Cannot modify header information – headers already sent by (output started at /location/wp-content/plugins/autometa.php:73) in /location/wp-admin/post.php on line 59

    It’s the plugin Autometa. Which I really need for Technorati tags without overloading my blog with categories. I thought I’d upgrade to 2.01 because I figured it would take care of the utterly horrible way the new Word Press does images, with AND without the rich text editor. The image problem is exactly the same. Now I’m stuck, and my Autometa is screwy. 🙁

    Here’s the stuff around line 73:

    function getRank($terms, $story_id) {
    global $wpdb;
    $scores[] = array();
    foreach ($terms as $term) {
    $q = “SELECT MATCH(post_content, post_title) against (‘”.$term.”‘) as score FROM “.$wpdb->posts.” where id=”.$story_id.”;”;
    $result = $wpdb->get_var($q);
    $scores[$i][‘term’] = $term;
    $scores[$i][‘score’] = $result;
    // sort the data before returning it
    uasort($scores, “compareScores”);
    return $scores;

    Here IS 73: return $scores;

    What can I do? Is Autometa still working?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upgrade 2.01 Causes Admin Problems with Autometa Plugin’ is closed to new replies.