In this case what we would do is go line-by-line from the end of the postreply action and add "die('ok');" until you don't get server 500 anymore. Probably good to have a test thread for this:
Code:
if ($vbulletin->userinfo['userid'] == MY_USER_ID)
{
// replace MY_USER_ID with your numeric ID
// this way only you see this hackish debug
die('before server 500');
}
Using this you should be able to isolate what line of code causes the 500 error.
It's a pain, I know. But without randomly changing things, that's really all you can do when you get an error that doesn't generate log items.
Bookmarks