Problem FIXED:
Thanks for all the help. I have now found the problem which is causing this error.
Please do the following to correct this bug:
Open the misc.php and to go line 472 where it says:
PHP Code:
$new_smilies .= "<input type=\"hidden\" name=\"wysiwyg\" value=\"0\">";
and replace this line with this line:
PHP Code:
$new_smilies .= "<input type=\"hidden\" name=\"wysiwyg\" value=\"$wysiwyg\">";
Enjoy this hack.
Cheers,