Nicolas Juen
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PostViews] postviews_id is an Undefined IndexHi !
I have the same issue because I develop with WP_DEBUG at true, you can fix this like this :function increment_views() { global $wpdb; if( !isset($_GET['postviews_id'] ) ) return false; $post_id = intval($_GET['postviews_id']); if($post_id > 0 && defined('WP_CACHE') && WP_CACHE) { $post_views = get_post_custom($post_id); $post_views = intval($post_views['views'][0]); if(!update_post_meta($post_id, 'views', ($post_views+1))) { add_post_meta($post_id, 'views', 1, true); } } }Seems to work and not blocking the plugin 🙂
Hi,
Thank you for your feedback, this bug is fixed in the version 2.0.1.
Best regards,
NicolasHello,
You’r right ! I will add this to the next release 🙂Thanks for the advice !
Hello,
Simple post gmaps is compatible with multisite setup 🙂
Hi,
Fixed in 1.0.3 ! Thank you again !
Hi,
Good point, it will be fixed in the next version of the plugin.
Thank you !
Hi,
Can you give me your php version and set your wp-debug to true and give me the errors related to my plugin ?
It can help me to resolve our issues.
My plugin is developed in PHP5 and wp_debug true.Nicolas
Hi,
Have you any javascript error ? wich browser do you use ?
I tried to upload images from articles or media page, i have not this issue :/.
Maybe my plugin enter in conflict with any of plugin installed on your WordPress :/Nicolas
Wow sorry i just forget to replace the license ! It will be fixed soon as possible !