I get the following error when the Scholarly module is enabled:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of drupal_write_record(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /path/to/sites/all/modules/scholarly/scholarly.module on line 330

CommentFileSizeAuthor
#2 scholarly.38509.patch667 bytesstevenpatz

Comments

Anonymous’s picture

Version: 6.x-1.0 » 6.x-1.1
Status: Active » Needs review

It's still present in CVS.
Change

  $file->timestamp = time();
  drupal_write_record('files', &$file);
  $node->files = array($file->fid => $file);

into

  $file->timestamp = time();
  drupal_write_record('files', $file);
  $node->files = array($file->fid => $file);

in file scholarly.module (I cannot provide a patch as scholarly.module uses non-Unix Linefeeds, and I could only provide a patch that fixes this issue as well ;) )

stevenpatz’s picture

StatusFileSize
new667 bytes