On input_formats.module, line 627 there is this call:

drupal_process_form($form_id, &$form, &$form_state);

But this produces a warning
Call-time pass-by-reference has been deprecated

Ampersand should be removed:
drupal_process_form($form_id, $form, $form_state);

CommentFileSizeAuthor
#2 input_formats-881056.patch773 bytespcambra

Comments

wiifm’s picture

This is a major pain, as using drush it spits this warning out on every vset/vdel command

DBG 3 :: /opt/drupalfiles/scripts/drush/drush --yes -r /opt/drupalfiles/vhosts/intranet -l default vdel theme_iris_settings
PHP Warning:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of drupal_process_form().  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 /opt/drupalfiles/vhosts/intranet/sites/all/modules/input_formats/input_formats.module on line 627
PHP Warning:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of drupal_process_form().  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 /opt/drupalfiles/vhosts/intranet/sites/all/modules/input_formats/input_formats.module on line 627

Any idea on when a new beta could be released (even if it only addresses this issue)?

pcambra’s picture

StatusFileSize
new773 bytes

I'm attaching a little patch just in case someone else is using this module as a part of a install profile.

jaydub’s picture

Status: Active » Reviewed & tested by the community

Applied and verified the patch removes the PHP warning.

dagmar’s picture

Status: Reviewed & tested by the community » Fixed

Committed thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.