I have <?php wp_footer(); ?> in my theme 2010 and wordpress stats says I don't Newest version 1.7 downloaded 10 mins ago
here's the last few lines of footer.php
<?php
/* Always have wp_footer() just before the closing </body>
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/
wp_footer();
?>
</body>
</html>
EDITED:
When I went back to the site I started checking settings and then noticed it disappeared and I didn't do anything yet. So I guess the bug is it needed to get used to the site first, Be one with the HTML :>
http://wordpress.org/extend/plugins/stats/
Yes, that was my fault. It is difficult to test the automatic upgrade process when developing a plugin. As soon as I tried it myself, I saw the problem and uploaded a patch that should prevent the notice for cases like yours. Thanks for the report.
Hi, me too. I got the same error and I also have the correst code in my theme's footer. Is this the right place to leave these bug notices, or do we need to leave it on the WP Trac?
joelgoodman
Member
Posted 1 year ago #
Andy, I just got the same error seemingly post-patch.
Yeah, I just deleted and re-installed the plugin and still got the same error. And I notice now that Andy's on this forum, so: hi how are ya. Nice Guy Fawkes avatar.
smartermax
Member
Posted 1 year ago #
Hi,
i have the same Problem, i went back to 1.6.3
If you have this problem, please try downloading 1.7 again and installing fresh. It is supposed to detect that you have the correct code. If this winds up causing more problems than it solves, I'll get rid of it...
TonyRLA: Thanks! My avatar is actually a photograph I took of myself. Any resemblance to historical figures is coincidental, even if desired. :)
altamontcowork
Member
Posted 1 year ago #
I just updated and am seeing the error message. I put in the code before the /body but it still shows the error.
I have the same, with version 1.7
lol.
I put a tab in front of wp_footer();
Now, it works...
I continued to get the error message even after downloading again and reinstalling. Then I discovered that the reinstall didn't overwrite the original files and the older version of 1.7 was still active. I deactivated and removed the older version and activated the newer one and all is well. When I did that I had to "recover" my stats which I've never had to do before so I got a little nervous. But it worked just fine. If there's a way to do it, I'd backup your stats before you start.
kimharding
Member
Posted 1 year ago #
I am seeing the error message. I have the code before the /body but it still shows the error. It seems to me that every time this plugin is updated it's performance declines.
Well, I've got the footer error message showing as well, though my footer code is fine. I took lindas2's advice and deactivated then deleted the files, then installed 1.7.1 fresh, and the error is still here.
EDIT:
ACK!
It's like n2rga said in the first post. Let it be one with the site for a while and it behaves. NOT nice to have an error message like that while it's settling in—there's no way from that message to know that it is settling in!
All's well that ends...
I just thought of something. Are you folks using a caching plugin such as WP Super Cache?
I have the same problem.
Deleted the plugin (using wordpress admin).
Re-installed it.
Error remains.
I have no caching software.
I'm using Atahualpa theme. (I even moved the line to literally just before /body to be certain it could be detected, from where it was several lines higher).
I'm using super cache now that makes sense because after reloading the page a few times and check this and that then going back cache caught up to itself.
I no longer get that error
Howdy Humans. I also deleted all files, even dropped tables from the db and did a fresh reinstall about 10 mins ago and got the same error. I can live without the WP stats for a while. I don't like the idea of any error that has to "settle in".
If it's any help, on one of my test installs I'm running 1.6.7 on WP 3.0rc3 latest with same theme and no error. That test box is on Ubuntu latest, while my production site is on centos latest if that's any help. No wp caching on either install.
@andy: "the gentler Tortures are to be first used unto him"
1.7.2 is available now. It removes the footer check pending investigation of various errors.
Penny for the Guy?
lsvichet
Member
Posted 1 year ago #
i still have this problem even if i installed version 1.7.2 :
Warning: Invalid argument supplied for foreach() in /home1/khmerdig/public_html/dahlina/wordpress/wp-content/plugins/stats/stats.php on line 134
lsvichet, could you start a new thread for your error? It is unrelated to the error that started this thread and it's hard enough for little brains like mine to keep track.
smartermax
Member
Posted 1 year ago #
version 1.7.2 works for me
before i had the same problem, with the footer message