Clean install of
Conditional Fields 6.x-1.x-dev
CCK 2.x dev
D6 dev
All from CVS
And I get the following error immediately after the modules are activated:
notice: Undefined index: type in /Applications/XAMPP/xamppfiles/htdocs/drupal6dev/drupal/sites/all/modules/conditional_fields-DRUPAL-6--1/conditional_fields.module on line 275.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 472446.patch | 1.8 KB | jim0203 |
Comments
Comment #1
jim0203 commentedThis occurs when hook_form_alter() is called with
The problem arises when $form isn't loaded - that is, when a form isn't being displayed: hook_form_alter() still gets called and $form isn't set.
I don't know the best way to patch this - this is my first real look at the code - but that's what the problem seems to be.
Comment #2
jim0203 commentedComment #3
jim0203 commentedComment #4
peterpoe commentedI cannot reproduce this issue. I tired a fresh install (Drupal 6.12, CCK 2.3, Conditional Fields 1.0beta1). Could you be more precise on the situation when this happens to you (which page, after which action), thanks.
Comment #5
peterpoe commentedOk, I get it: it must be a different level of php error reporting. Committing, thanks.