WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Usernoise modal feedback / contact form] Error message after update

[Resolved] [Plugin: Usernoise modal feedback / contact form] Error message after update

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author karevn
    Member

    @karevn

    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?

    danwoolley
    Member

    @danwoolley

    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!

    Plugin Author karevn
    Member

    @karevn

    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.

    sosukeinu
    Member

    @sosukeinu

    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.

    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?

    Plugin Author karevn
    Member

    @karevn

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

    ITfee
    Member

    @epistates

    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!

    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.

    Plugin Author karevn
    Member

    @karevn

    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.

    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!

    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

    Plugin Author karevn
    Member

    @karevn

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] [Plugin: Usernoise modal feedback / contact form] Error message after update’ is closed to new replies.