Do I understand this correctly. If you disable "Error Logging" to the Screen, then Drupal doesn't display anything that should be displayed via drupal_set_message? Then how does one give feedback to users?
1 Answer
The drupal_set_message works even if you have disabled the "Error Logging". Check if you have printed $messages variable in page.tpl.php
3 Comments
rockstardev
I do, but all messages disappear when I disable logging.
Vishal Patil
Check if user with id 0 exists in users table
rockstardev
Yip. it does. I will keep checking what else could be wrong.