WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Missing argument 2 for wpdb::prepare()

[Resolved] Missing argument 2 for wpdb::prepare()

Viewing 4 replies - 1 through 4 (of 4 total)
  • gerobe
    Participant

    @gerobe

    Here is a fix, that worked for me. Change line 62 in avh-db.php from

    return $wpdb->prepare('SHOW COLUMNS FROM ' . $table);

    into

    return $wpdb->prepare('SHOW COLUMNS FROM ' . $table,null);

    dexpositoromero
    Member

    @dexpositoromero

    Appreciated!
    Anyway, I have uninstalled it… I don’t even know why I was using it in first place :^P

    eugeberzal
    Member

    @eugeberzal

    This worked for me. Thanks so much. I hope that the author fixes the plugin anyway. Regards

    Thanks! 🙂 Worked for me too. Bests,
    -Brian

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Missing argument 2 for wpdb::prepare()’ is closed to new replies.