Support » Plugins » WP 1.5: excluding plugins (like Democracy) from wp-cache

  • I’ve been struggling with this for quite a while. Wp-cache (I’m using the latest, 2.17) is a phenemonal performance booster for my WP site and it literally couldn’t function without it. But polls are also an important part of the interface; yet I haven’t been able to include them beccause I can’t get the mfunc syntax to effectively exclude (NOT cache) the Democracy poll plugin or any other poll plugin I’ve tried. Thus, they break.

    Has anyone found a way to do this?? Please?

Viewing 1 replies (of 1 total)
  • Okay, here’s how far I’ve gotten.

    – enabled democracy long enough to create a poll.
    – disabled wp-cache …
    – disabled democracy …
    – then, called it manually from the sidebar as described on this page:
    – re-enabled wp-cache
    – answered the poll
    – it seems to work until I return to that page and then I get a fatal error because this function is undefined (presumably wpdb):
    $poll_question = $wpdb->get_row(“SELECT id, question, voters, allowusers FROM {$table_prefix}democracyQ WHERE {$where}”);
    Which makes sense since I call the plugin so late in the game.

    Is it possible to work around this?

Viewing 1 replies (of 1 total)
  • The topic ‘WP 1.5: excluding plugins (like Democracy) from wp-cache’ is closed to new replies.