Fatal error on line 1554 [resolved?]
-
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 thisif (!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…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error on line 1554 [resolved?]’ is closed to new replies.