We have a site that is throwing errors when uploading files to a simple "Page" node. I've done a lot of work trying to track down the actual source of the error, and I posted a half dozen messages to various likely threads at drupal.org.
The errors we get on file attach/upload:
warning: Parameter 2 to wysiwyg_form_alter() expected to be a reference, value given in /var/www/drupal/includes/common.inc on line 2892.
warning: Parameter 2 to simple_access_form_alter() expected to be a reference, value given in /var/www/drupal/includes/common.inc on line 2892.
I understand about passing by reference versus value. I understand about fixing the problem in the offending module by using the two calls to
drupal_alter(), as described on
http://drupal.org/node/930992#comment-4066840, but so far I have not been able to find what module is making the call incorrectly.
I tried installing and enabling the same set of modules on a test site but cannot reproduce these errors.
It's hard to post a bug report when you don't know the offending module.