I get the following warnings when Simplepie is enabled, they go away when Simplepie is disabled. The status page also list 'array' 'array' with yellow background...

Warning: strcmp() expects parameter 1 to be string, array given in _system_sort_requirements() (line 2785 of /var/aegir/platforms/openpublish-7.x-1.0-beta7/modules/system/system.module).
Warning: strcmp() expects parameter 1 to be string, array given in _system_sort_requirements() (line 2785 of /var/aegir/platforms/openpublish-7.x-1.0-beta7/modules/system/system.module).
Warning: strcmp() expects parameter 2 to be string, array given in _system_sort_requirements() (line 2785 of /var/aegir/platforms/openpublish-7.x-1.0-beta7/modules/system/system.module).
Warning: strcmp() expects parameter 2 to be string, array given in _system_sort_requirements() (line 2785 of /var/aegir/platforms/openpublish-7.x-1.0-beta7/modules/system/system.module).
Warning: usort(): Array was modified by the user comparison function in system_status() (line 2320 of /var/aegir/platforms/openpublish-7.x-1.0-beta7/modules/system/system.admin.inc).

Comments

mheinke’s picture

im planning on using this module and refactoring it completely.
i will post patches (which should fix this), and possibly apply for maintainership.

blogook’s picture

Issue summary: View changes

Similar problem here

Warning: strcmp() expects parameter 2 to be string, array given in _system_sort_requirements() (line 2796 of /Library/WebServer/Documents/modules/system/system.module).

Is there a fix available?

foaad19’s picture

I have been getting the same errors exactly on the same line as kpm. I have disabled the module and I do not get the errors when opening "Glossary" anymore. Some of the images in the RSS Feed have lost their positions but nothing major has happened. I look forward to any solutions.

Max2505’s picture

Got the same error. After disabling the module, errors are gone.
Let me know what information I can provide to get this debugged.

Prancz_Adam’s picture

Hello,

I get the same error with my custom module. The problem is that I want to use the same library from 2 of my custom module. I'm working on that.

xurizaemon’s picture

@Prancz_Adam: Use different keys for your two modules, eg $requirements['foo_curl'] and $requirements['bar_curl'].

See https://www.drupal.org/node/1711604#comment-9306769