Many of my users keep getting this error:
8: Undefined variable: ID_REPLY
File: /home/firestil/public_html/forums/Sources/Post.php
Line: 1576
When I go to line 1576 of the Sources/Post.php, I have this:
if (!$user_info['is_admin'])
// Have admins allowed people to hide their screwups?
if (time() - $row['posterTime'] > $modSettings['edit_wait_time'] || $ID_MEMBER != $row['ID_MEMBER'])
{
$msgOptions['modify_time'] = time();
$msgOptions['modify_name'] = addslashes($user_info['name']);
}
I altered it so that all admin edits are hidden, is this what is causing my error?
Hmm... $ID_REPLY doesn't show up anywhere in my code. Are you sure that's 1576?
If you open the file in Notepad, press Ctrl-G and type the line number...
-[Unknown]
Okay, I'm an idiot, this is the line:
$replyOptions = $ID_REPLY;
// This is an already existing message. Edit it.
if (!empty($_REQUEST['msg']))
{
Now that I see what the actual line of code is, I'm thinking this may have been added with the reply to mod I downloaded last week. Do I need to just remove the mod?
Perhaps.... I'm not sure what's wrong with it...
-[Unknown]