Title: [Plugin: Post &#039;n Page Views] Error
Last modified: August 19, 2016

---

# [Plugin: Post 'n Page Views] Error

 *  Resolved [Pink Garden](https://wordpress.org/support/users/pinkgarden/)
 * (@pinkgarden)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-post-n-page-views-error/)
 * I got the following error viewing the post page in the admin side where it should
   display the amount of views:
 * Warning: Invalid argument supplied for foreach() in /home/**removed-for-security**/
   public_html/wp-content/plugins/post-n-page-views/posts-n-pages.php on line 93
   
   0

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Rono](https://wordpress.org/support/users/designbyrono/)
 * (@designbyrono)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-post-n-page-views-error/#post-1992580)
 * Hey Pinkgarden,
    Have you installed and activated “**[JetPack by WordPress.com](http://wordpress.org/extend/plugins/jetpack/)**”
   first? It’s a required (and very useful) plugin for Post ‘n Page to work.
 * If you have the older [WordPress.com Stats](http://wordpress.org/extend/plugins/stats/),
   it should work too.
 * Rono.
 *  Thread Starter [Pink Garden](https://wordpress.org/support/users/pinkgarden/)
 * (@pinkgarden)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-post-n-page-views-error/#post-1992600)
 * Hi Rono
 * My apologies, I didn’t spot that requirement in your description! I have installed
   this now and its working perfect.
 * Thank you for your very quick response =)
 *  Plugin Author [Rono](https://wordpress.org/support/users/designbyrono/)
 * (@designbyrono)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-post-n-page-views-error/#post-1992602)
 * Happy to help.
    Please update the compatibility box when you can. Thanks.
 *  [alfonso76](https://wordpress.org/support/users/alfonso76/)
 * (@alfonso76)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-n-page-views-error/#post-1993008)
 * Rono, could you kindly help me on this: [http://wordpress.org/support/topic/plug-in-post-n-page-views-post-n-page-views-doesnt-count?replies=1](http://wordpress.org/support/topic/plug-in-post-n-page-views-post-n-page-views-doesnt-count?replies=1)
 * Thnx a lot!
    Alfonso
 *  [japanworm](https://wordpress.org/support/users/japanworm/)
 * (@japanworm)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-post-n-page-views-error/#post-1993028)
 * I get exactly the same error, but unlike the other people here who reported the
   error message, I’ve installed Jetpack by WordPress already and it still doesn’t
   work 🙁
    Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Post 'n Page Views] Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-n-page-views.svg)
 * [Post 'n Page Views](https://wordpress.org/plugins/post-n-page-views/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-n-page-views/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-n-page-views/)
 * [Active Topics](https://wordpress.org/support/plugin/post-n-page-views/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-n-page-views/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-n-page-views/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [japanworm](https://wordpress.org/support/users/japanworm/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-post-n-page-views-error/#post-1993028)
 * Status: resolved