Download & Extend

warning: uasort() [function.uasort]: The argument should be an array

Project:CCK Wizard
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

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 /....../modules/wizard/Wizard_Form.class.php on line 66.

Any ideas?

Comments

#1

I have the same error. anything I can help to fix it? not much of a coder but would like to get this up.

Idan

#2

Category:support request» bug report
Priority:normal» critical

the same problem
uasort(): The argument should be an array у /.../modules/wizard/Wizard_Form.class.php у рядку 66.
CCK wizard do not working *((

#3

Just to update:

Not sure whether its a legal way to fix it or not, I got it fixed by the following:

I put this line just before the line that was causing error.

if(is_array($elements)) {
uasort(......................
}

and got it fixed.

If you know about any better solution then please update here.