Drupal 6.19, Stylistics 6.x-1.0, File attachment utils 6.x-1.4.

"Notice: Undefined index: #stylistics_processed in _stylistics_pre_render() (line 25 of /drupal/sites/all/modules/stylistics/stylistics.module)." appears after patch command was run using D6-core-simpletest.patch.

The Stylistics module is required by the File Attachment Utilities module.

Following lines are from the
stylistics.module
Line 11 /**
Line 12 * Implementation of hook_form_alter().
Line 13 *
Line 14 * We don't know where we are in the order of module list, so throw in the
Line 15 * pre_render callback on every form and we'll check the form at that point.
Line 16 */
Line 17 function stylistics_form_alter(&$form, $form_state, $form_id) {
Line 18 $form['#pre_render'][] = '_stylistics_pre_render';
Line 19 }
Line 20
Line 21 /**
Line 22 * Implements hook_pre_render().
Line 23 */
Line 24 function _stylistics_pre_render($form) {
Line 25 if (!$form['#stylistics_processed']) {
Line 26 _stylistics_scan($form);
Line 27 $form['#stylistics_processed'] = TRUE;
Line 28 }
Line 29 return $form;
Line 30 }

Comments

dave reid’s picture

Project: SimpleTest » Javascript and CSS reloader
Version: 6.x-2.11 » 6.x-1.0

PHP notices have to be fixed in the module responsible for them.

Anonymous’s picture

subscribe

bcmiller0’s picture

StatusFileSize
new496 bytes

adding patch in this module to fix notice problem.