[Plugin: W3 Total Cache] I get 'Array' as the count of views if w3tc is active while publi
I use w3tc and i also use popular posts plugin (http://rmarsh.com/plugins/popular-posts-plugin/) and the following code to print the number of views a post had, just under the post title.
<?print(” —— “);?><?php echo popular_posts_views(); ?> <?print(“views”);?>
But my problem is that if W3TC is active while i publish a post, i only get “Array Views” instead of “1 views” or “2 views”.
Have a look under this post title – http://www.turnbacktogod.com/peters-declaration-about-jesus/
So each time before i publish a post, i deactivate W3TC and then publish the post and then activate W3TC.
Can anyone help me to save this much trouble?
- The topic ‘[Plugin: W3 Total Cache] I get 'Array' as the count of views if w3tc is active while publi’ is closed to new replies.