Support » Plugins and Hacks » [Plugin: WordPress.com Stats] getting message about <?php wp_footer(); ?> and I have it

[Plugin: WordPress.com Stats] getting message about <?php wp_footer(); ?> and I have it

  • 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

    	/* 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.

    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 :>


Viewing 15 replies - 1 through 15 (of 20 total)
  • 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?

    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.

    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. 🙂

    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

    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.

    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.



    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

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Plugin: WordPress.com Stats] getting message about <?php wp_footer(); ?> and I have it’ is closed to new replies.