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

gunzip’s picture

Version: 5.14 » 6.10

i get this behaviour on d6 6.10 too

gunzip’s picture

Status: Active » Closed (fixed)

fixed 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)