• Resolved Lord_iMac

    (@lord_imac)


    Hi there,
    I created a page with a Login Form (Default TML Template) but if I enter nothing I don’t get the error messages, just an empty paragraph with error class.

    I tried it with the default template, it works.

    I’m using a Cherry Framework chile theme. What could be the reason for not showing up the errors?

    Thank you!

    https://www.ads-software.com/plugins/theme-my-login/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Lord_iMac

    (@lord_imac)

    I took a deeper look inside my theme/framework and your plugin and found the causing piece of code. It’s added for security reasons and removes login error messages. Not only cherry framework uses this, wordfence as well. It’s also recommended on many security sites related to wordpress.

    The code which causes this problem:

    add_filter('login_errors',create_function('$a', "return null;"));

    As this is a known issue now, maybe you should send the plugin errors to another function which isn’t related to login errors?

    Thanks and best regards

    Thread Starter Lord_iMac

    (@lord_imac)

    Anyways, regarding cherry framework this filter gets removed with next update. They merged my pull request to remove it.

    https://github.com/CherryFramework/CherryFramework/pull/32

    Thread Starter Lord_iMac

    (@lord_imac)

    Any new infos on sending the plugin errors to another function?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    The errors will continue to go through that filter, in order to maintain compatibility.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No Error Messages shown’ is closed to new replies.