I've just updated to this new version : 6.x-1.x-dev (2009-Nov-14)
I have this error on all pages now:

warning: version_compare() expects parameter 1 to be string, array given in /home/drupal/drupal/sites/all/modules/nodewords/nodewords.module on line 693.

Thx for your help

Comments

dkruglyak’s picture

Status: Active » Reviewed & tested by the community

I have the same problem. The fix is trivial, replace two version_compare statements with this, to check $version instead of $result:

          version_compare($version, NODEWORDS_MINIMUM_API_VERSION, '<') ||
          version_compare($version, NODEWORDS_API_VERSION, '>')

This is ready to commit...

avpaderno’s picture

The code has been changed, and committed in CVS.

Thanks for the report, and the help.

avpaderno’s picture

Status: Reviewed & tested by the community » Fixed
63reasons-YP’s picture

I'd update nodewords to the last dev version (2009-Nov-15), it's contains the same warnings.

avpaderno’s picture

As the code has been committed at 12:50 AM UTC, you need to wait for the next time the package is created, which happens at 12:00 AM, and 12:00 PM UTC.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.