PDA

View Full Version : Admin can not read PMs


euge
03-19-2009, 03:02 PM
Hi all!

After upgrade on official licensed "vBulletin 3.8.1 Patch Level 1" forum Administrator can not read PMs at all
Only empty web-page is shown while admin opens any private message (for example, with help of link http://***/forum/private.php?do=showpm&pmid=51230)

Fatal PHP error appears in log:
[Thu Mar 19 17:53:47 2009] [error] PHP Fatal error: Call to a member function query_first() on a non-object in /***/www/forum/includes/functions_newpost.php(1881) : eval()'d code on line 14

All forum users do not have troubles with PMs.
This problem affects only Administrator...

Any ideas?

Lynne
03-19-2009, 03:18 PM
Line 1881 of functions_newpost.php is:
($hook = vBulletinHook::fetch_hook('private_newpm_reply')) ? eval($hook) : false;
So,your error is being caused by a modification using the private_newpm_reply hook location. If you know which modification it is, just turn it off. Or, turn off the modifications one-by-one until you find the culprit. Then, go find the modification thread and see if a fix has been posted for this issue.

kenji4861
03-27-2009, 05:16 AM
Just in case others that reach this thread. I had the same issue and tried disabling one mod at a time and found the culprit to be Advanced Warning System v1.0.4

Let me check if there's an update for this that will fix this issue.