David_Topping wrote:
This problem JUST surfaced yesterday, and NOBODY has been able to post in the forums; it's not a firewall issue for me. :(
How can I fix this? The database seems to be fine otherwise, I just submitted a news article.
if($xoopsUser) {
$pm_handler =& xoops_gethandler('privmessage');
$criteria = new CriteriaCompo(new Criteria('read_msg', 0));
$criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid')));
$count = $pm_handler->getCount($criteria);
}