Home > Programming, software, wordpress > Gengo and woopra plugin

Gengo and woopra plugin

October 18th, 2008 admin Leave a comment Go to comments

I just found out, that there is a problem with running the woopra wordpress plugin together with gengo. Gengo is the multilingual plugin running in the background of this blog. Woopra is an external statistics program that has a nice wordpress plugin (which by the way is looking for some translation work itself).

Anyway, when i activate the woopra-plugin it says

Fatal error: Call to a member function wp_rewrite_rules() on a non-object in /var/www/oan/htdocs/wp-includes/classes.php on line 145

First, i thought it’s a compatibility thing with wordpress 2.7 (right now: “2.7-almost-beta), but it seems to work when i deactivate gengo. I found this quote on the gengo-blog which i am quoting since the site has some database problems:

If that happens, the plugin you just activated has been written incorrectly. It is trying to set its language too early, before Gengo has loaded. The solution is an easy one – the call to load_plugin_textdomain() in the plugin must be moved so that it is run on the ‘init’ hook. Do your plugin author a favour – drop them an email letting them know the problem and see if they’ll fix it – many authors don’t know that this is even a problem! Make sure you’re polite when you do, though. From personal experience, I can tell you it’s not pleasant to receive an angry email from a stranger, demanding that you fix something that you’ve released for free.

Hope, someone from over at woopra can change the code accordingly. Meanwhile i’m relying on the stattraq-plugin..

  1. October 21st, 2008 at 06:24 | #1

    I am not finding this error when I activate the plugin. I am also using 2.7-almost-beta.

  2. admin
    October 21st, 2008 at 09:51 | #2

    @Shane: are you running gengo too?

  1. No trackbacks yet.