Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I assume this is yet another PHP 5.x-related bug:
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /Applications/MAMP/htdocs/drupal-4-7/modules/project/release/project_release.module on line 112.
The line in question seems to be:
$form['#validate'] = array_merge($form['#validate'], array('project_release_settings_validate' => array()));
which looks fine to me?
Comment | File | Size | Author |
---|---|---|---|
#2 | project_release_settings_php5.patch.txt | 969 bytes | dww |
Comments
Comment #1
dwwyup, php5 badness again. $form['#validate'] just isn't set in that case, most likely, and it's complaining. should be an easy fix.
Comment #2
dwwthis works in php4. i assume it'll solve the problem in php5, but webchick, could you please verify?
thanks,
-derek
Comment #3
AjK CreditAttribution: AjK commenteddww, sorry for the delay in review. Recreated the problem (in PHP5). Applied patch no problems. Fixes fault in PHP5, PHP4 continues to work as before.
Comment #4
dwwthanks for testing. committed to DRUPAL-4-7--2 branch as revision 1.1.2.41.
Comment #5
(not verified) CreditAttribution: commented