As per title after I upgraded the website from 5.6 to 5.14 if I type in wrong username or password no error message appears but it will show if I reload the page or click to go to a different page. So in generel what happens is that the error messages show one step later.
The upgrade went without any errors so it must be a bug in the 5.14 version.
Comments
Comment #1
gunzip commentedi get this behaviour on d6 6.10 too
Comment #2
gunzip commentedfixed this doing:
function mymodule_preprocess_page(&$vars) {
if (empty($vars['messages'])) {
$vars['messages'] = theme('status_messages');
}
}
(i think it depends by the order things are executed)