WordPress.org

Ready to get started?Download WordPress

Forums

Usernoise modal feedback / contact form
[resolved] Error message after update (13 posts)

  1. epistates
    Member
    Posted 2 years ago #

    After my Usernoise-Update there pops up a message:

    "Broken theme detected, Usernoise may work incorrectly. Please check if you have wp_footer() call above </body> in your theme's footer.php. You can find further reference in WordPress Codex"

    http://wordpress.org/extend/plugins/usernoise/

  2. karevn
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, that is how broken theme detector feature works. Please make sure your footer.php file has <?php wp_footer() ?> above </body> tag. If it has - can you please email me with your site details so I could enhance broken theme detector?

  3. danwoolley
    Member
    Posted 2 years ago #

    Can this broken theme detector message be turned off by the plug-in author?

    According to the link provided with the alert message, the wp_head() and wp_footer() are not required and not included in every theme. From the codex:

    This hook is theme-dependent which means that it is up to the author of each WordPress theme to include it. It may not be available on all themes, so you should take this into account when using it.

    Also, when I tried to add it to my theme, it messed other things up and didn't turn off the error message.

    Thanks! Great plugin!

  4. karevn
    Member
    Plugin Author

    Posted 2 years ago #

    danwoolley, it is a good practice to include those hooks, though, because that adds LOTS of flexibility for plugin authors. Actually, there's just no other way to inject Javascript code into page. That is why Usernoise depends on wp_head/wp_footer calls and shows error messages when they are not present. May be themes are not "broken" when they do not contain those calls actually, but anyway Usernoise requires wp_head/wp_footer.

  5. sosukeinu
    Member
    Posted 2 years ago #

    My theme cotains both wp-head() and wp-footer() and the error message is sporadic, sometimes it's there, sometimes it's not. I emailed you site details.

  6. dporchia
    Member
    Posted 2 years ago #

    Hi, I have the same issue as well. I have both wp-head() and wp-footer() and the error message appears sporadically.

    Does this affect the functionality of the plugin?

  7. karevn
    Member
    Plugin Author

    Posted 2 years ago #

    No, it does not affect anything - just a notification.

  8. epistates
    Member
    Posted 2 years ago #

    after the next update there is now a second error message, like the one mentioned first, but this time saying something is also wrong with the header. can you please turn this off! it is annoying. my theme works fine!

  9. sdromero
    Member
    Posted 2 years ago #

    I'm using this (pro version) on a multisite install with sub-directories. The theme has the correct hooks. There is no error message on blog id 1, but there is on the other sites in the network.

  10. karevn
    Member
    Plugin Author

    Posted 2 years ago #

    epistates, sdromero, do you mean "broken theme" notifications or other errors? I think I'll remove broken theme detector thing from the next release as it seems to bring more problems than advantages.

  11. sdromero
    Member
    Posted 2 years ago #

    It's broken theme errors. It says missing hooks for wp-header / wp-footer. They are there though... Yeah, I think removing the notifications might be best. Thanks!

  12. lcwander
    Member
    Posted 1 year ago #

    I have installed in my site, but didn't work. I have installed in another one and worked. What the problem? Do you see what happend? If you want I can give you a admin pass. Thanks!

    http://www.mentesinquietas.com.br/luc

  13. karevn
    Member
    Plugin Author

    Posted 1 year ago #

    @icwander can you please try to disable all other plugins to make sure they do not interfere?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags