Quote:
Originally Posted by pportuese
Just installed this, copied all the files over and installed with the xbl plugin. I get this on a text search:
Warning: Invalid argument supplied for foreach() in [path]/admincp/rcd_pm_log.php on line 312
And on a user search nothing shows up. Like none of my users have private messages. I know I do and I tried it, still nothing.
I also don't understand the last step. I can't find where you give people permission to see the log pm's.
BTW I have 4.0.5 if that matters.
EDIT: I found the set access part and it only says yes or no for Admins. I set myself to yes and when I search still nothing shows up.
|
This looks similar to the issues I was having. The problem is that the log doesn't work retroactively - only PMs sent
after the install are logged. Once my users started PMing the error went away and there were logs to go through.
The error itself gives a clue - foreach is a loop. It's trying to loop through all the logs but isn't finding any (and probably is getting a null reference, hence the error instead of dying gracefully).