After installing the module on Drupal 5.1, I get the following Error on every form-page:

warning: uasort() [function.uasort]: The argument should be an array in /homepages/26/d156207393/htdocs/demo/4seasons/modules/wizard/Wizard_Form.class.php on line 66.

Any ideas?

Comments

orionvortex’s picture

I am getting the same error.

vlooivlerke’s picture

I am getting the same error = too

Oreps’s picture

same

nicholas llewellyn’s picture

I get the same issue, fresh download.

It appears to be something to do with the "uasort($this->fapi_form, '_element_sort');" line (66) in Wizard_Form.class.php which I have taken a snippet from (below):

Wizard_Form.class.php

64.// Sort FAPI form elements by weight first.
65.    if (!isset($this->fapi_form['#sorted'])) {
66.      uasort($this->fapi_form, '_element_sort');
67.      $this->fapi_form['#sorted'] = TRUE;
68.    }

I'm no programmer but I live in hope that someone out there is.

podarok’s picture

Category: bug » support
Status: Active » Needs review

drupal 5.7
same problem

64.// Sort FAPI form elements by weight first.
65.    if (!isset($this->fapi_form['#sorted'])) {
//66.      uasort($this->fapi_form, '_element_sort');
67.      $this->fapi_form['#sorted'] = TRUE;
68.    }

Temporary fix may be help You

pomliane’s picture

Status: Needs review » Closed (won't fix)

This version of CCK Wizard is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.