I got this error after installing ajax comments

Warning: Call-time pass-by-reference has been deprecated in /var/www/vhosts/renmarkdev2.com/httpdocs/sites/all/modules/ajax_comments/ajax_comments.module on line 155

any idea what could cause this

CommentFileSizeAuthor
#2 ajax_comments-passbyref.patch471 bytesjohn.money

Comments

playfulwolf’s picture

the same for me

john.money’s picture

Component: Miscellaneous » Code
Category: support » bug
Status: Active » Needs review
StatusFileSize
new471 bytes

Patch removes pass by reference... looking at code should not impact performance, but needs testing.

drupalprojects’s picture

It looks like patch is ok.
--------------------------------
drupal_rebuild_form($form_id, &$form_state, $args, $form_build_id = NULL) - form_state и так передается по ссылке, если я правильно понимаю

neochief’s picture

Status: Needs review » Closed (duplicate)

Thanks for your afforts, but it's duplicate of: #434968: Got some error