View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05660Bug reportsOtherpublic2012-01-20 13:08
ReporterTMSWhite Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92RC1 
Fixed in Version1.92RC2 
Summary05660: Warning: usort() [function.usort]: Invalid comparison function
Description

Warning: usort() [function.usort]: Invalid comparison function in /var/www/vhosts/digipsy.nl/httpdocs/survey192/classes/eval/ExpressionManager.php on line 1312

This is reported on behalf of fransmarcelissen

This appears on nearly every page.

Steps To Reproduce

this error only appears in PHP 5.2. I can't reproduce it myself, so need someone other than tmswhite to tackle this

Originally, the issue seemed to be related to the fact that the cmpQuestionSeq() sorting function was within the LimeExpressionManager class; and taking it out of the class was supposed to solve the problem. However, the error has resurfaced for PHP 5.2 within LS 1.92 RC2

Oops, this is an easy fix - the problem this time is with ExpressionManager, not LimeExpressionManager- I will commit the fix.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)12006
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)unknown
Webserver software & version (if known)unknown
PHP VersionPHP 5.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-01-12 22:04

reporter   ~16793

Fixed in revision 12017

c_schmitz

c_schmitz

2012-01-20 13:08

administrator   ~16831

1.92RC2 released.

Issue History

Date Modified Username Field Change
2012-01-12 22:01 TMSWhite New Issue
2012-01-12 22:01 TMSWhite Status new => assigned
2012-01-12 22:01 TMSWhite Assigned To => TMSWhite
2012-01-12 22:04 TMSWhite Note Added: 16793
2012-01-12 22:04 TMSWhite Status assigned => resolved
2012-01-12 22:04 TMSWhite Resolution open => fixed
2012-01-20 13:07 c_schmitz Fixed in Version => 1.92RC2
2012-01-20 13:08 c_schmitz Note Added: 16831
2012-01-20 13:08 c_schmitz Status resolved => closed