Hi, after installing the version 1.3b2 of this plugin, in a 2.31 wordpress, I had a problem with the comments. When a comment was submitted this appear instead the post page:
Fatal error: Call to a member function on a non-object in /home/tangosco/public_html/wp-content/plugins/popularity-contest.php on line 1554
After some research, I discover that the function akpc_init was not call.
So In the line 58 I change this
if (!isset($wpdb)) {
require('../../wp-blog-header.php');
akpc_init();
}
to this
if (!isset($wpdb)) {
require('../../wp-blog-header.php');
akpc_init();
}
else
{
akpc_init();
}
It seems it is working nice so far. Can anyone tell me is that was a bug o something weird is happening with my blog? And of course, if the fix is ok.
Thanks...