warning: Parameter 1 to comment_nodeapi() expected to be a reference
Drupal 6.16 gives following warning:
warning: Parameter 1 to comment_nodeapi() expected to be a reference, value given in /home/newsportal/public_html/includes/module.inc on line 462.
Why?
Similar entries
- warning: Parameter 1 to admin_menu_admin_menu() expected to be a reference
- Drupal warning: array_filter()
- PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'apd.so' in Unknown on line 0
- [Howto Fix] Table './eximstats/sends' is marked as crashed and should be repaired
- how to create 64 bit int, unsigned long long variable with c++
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /home/mysite/public_html/includes/
- Fatal error: Call to undefined function block_list() in /includes/theme.inc on line 1586
- Drupal does not send Email on Hosteurope
- Fatal error: Call to undefined function taxonomy_field_insert() in i18n_taxonomy.module on line 362
- Function ereg() is deprecated in C:\wamp\www\drupal\includes\file.inc on line 902
- Using "Linux Find" command to get human readable directory sizes in public_html
- How to add new sites to Drupal's service links module?
- Facebook error
- Mysql Order / Sort by before Group by
- Drupal and LDAP
- Simple Hello World Module for Drupal 6
- Language_List and default language as selected option on Drupal 6x
- Compress dirs and files recursively but exclude self
- Drupal LDAP to copy Win.Server.AD groups to roles
- How to hide / encrypt CCK Email field with JS against spammer

please change comment.module and removed "&" from line 594:
function comment_nodeapi(&$node, $op, $arg = 0) {
voila ; problem solved!
reference
http://drupal.org/node/587568
Post new comment