Greetings,

I get a bunch of array error messages when enabling this module...

Warning: strcmp() expects parameter 2 to be string, array given in _system_sort_requirements() (line 2784 of /var/www/html/d7/modules/system/system.module)
Warning: usort(): Array was modified by the user comparison function in system_status() (line 2314 of /var/www/html/d7/modules/system/system.admin.inc).
Notice: Undefined index: value in theme_status_report() (line 2577 of /var/www/html/d7/modules/system/system.admin.inc).

Cheers
Kevin

Comments

bedlam’s picture

Title: array errors » array warnings and notices
Priority: Normal » Minor
Status: Active » Postponed (maintainer needs more info)

Warnings and notices are not errors. Notices are not even problems :-)

If you can track the source of the warning down to one of the modules in this package, I'll fix it.

pyxio’s picture

Hi

My apologies for the semantics ;o) it is the qtabs module. Cheers, Kevin

liza’s picture

i am getting this same error when i go into the STATUS REPORT page.

Warning: strcmp() expects parameter 2 to be string, array given in _system_sort_requirements() (line 2784 of C:\wamp\www\drupal-719\modules\system\system.module).

and now that i think about it, this module may have broken my BATCH PROCESSING. i am also started having problems with the COLOR module. i'll uninstall and report back.

bedlam’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Hi,

  1. A warning is not an error, see above.
  2. The strcmp() function is not used in any code in this package, so the warning you are seeing is not related to this module (you can check if you want to).
  3. I'm going a bit out on a limb here, but I'd say it's vanishingly unlikely for the modules in this package to be able to affect the operation of either the color module or batch processing. In any case, I'd need much more information before I could investigate.
  4. As far as I can see, nothing that you have reported here is actually relevant to this issue. If you do find a problem, please feel free to open a new issue.