northlake
Forum Replies Created
-
@kendimatteoross and @davidborrink,
I forgot one essential step: you have to deactivate the plugin first before changing the code! After making changes, you can reactivate the plugin.
In case you already made changes, you may deactivate the said plugin and reactivate it again.
Sorry!
Forum: Plugins
In reply to: [WP Popular Posts] [Plugin: WordPress Popular Posts] WPP not showing any dataHello guys,
See this topic: http://wordpress.org/support/topic/plugin-wordpress-popular-posts-no-table-database-created
Hello mato99 and Hector (pardon my spelling, I’m using US keyboard),
See this topic: http://wordpress.org/support/topic/plugin-wordpress-popular-posts-no-table-database-created
pascaloChines,
Logout first from the admin panel. After logging out, you can browse other posts in the blog you are working with.
The the said plugin won’t count posts when the you are logged-in.
Yes it works! Table created and plugin runs smoothly. Do I have to change it back?
But I still don’t understand what cause this problem. I’m using all the latest release for wordpress, theme, and plugins.You don’t have to change it back. I think the main cause is the improper use of
registration_activation_hookfunction. Probably one of the coders of the said plugin thought that the first parameter of the said function is a function callback, not a file, which is according to the documentation.And I get the same message “Sorry. No data so far.” on the admin interface/Wordpress Popular Posts Stats.
Can someone provide help about it ? I saw this plugin running well on a friend s 3.0 but now with my wordpress 3.2.1 and latest version of plugin it seems it does not work. Thanks in advance !Will do my best to check what’s wrong.
Using your preferred text editor, open the file wordpress-popular-posts.php. At line 1123, change the entire line from this
register_activation_hook('WordpressPopularPosts', 'wpp_install');to this
register_activation_hook(__FILE__ , array('WordpressPopularPosts', 'wpp_install'));Hope this will help.