我们刚刚解决了它。显然,用户 0 丢失了,有人删除了它或某个模块删除了它。
将其插入数据库后,我们再次收到消息。
这是你必须做的:
INSERT INTO `users` (`uid`, `name`, `pass`, `mail`, `mode`, `sort`, `threshold`, `theme`, `signature`, `signature_format`, `created`, `access`, `login`, `status`, `timezone`, `language`, `picture`, `init`, `data`) VALUES
(0, '', '', '', 0, 0, 0, '', '', 0, 0, 0, 0, 0, NULL, '', '', '', NULL);
然后将uid设置为0,因为uid是自增的!
不过,仍然不知道这与 drupal_set_message 有何关系。