8 of these messages appeared after finished update.php (following the instructions to update http://www.drupalcommerce.org/commerce-kickstart-2/install)
Type php
Date Friday, December 21, 2012 - 10:04
User giorgosk
Location http://127.0.0.1/i/domain.com/
Referrer http://127.0.0.1/i/domain.com/update.php?op=results&token=lwoheVYW6kVaKLfIPCZZrJ5MqVSecKpPB-Y6oGwh6As
Message Notice: Array to string conversion in token_asort_tokens() (line 565 of G:\innohosting.com\domain.com\profiles\commerce_kickstart\modules\contrib\token\token.module).
Severity notice
Hostname 127.0.0.1
I would submit to token queue but the same token version (1.4) exists in RC4 and full release so I assume something changed in the KC code caused this
I have updated contrib modules manually before and used update.php without this error appearing
The notices don't appear again after browsing the site so its probably something in the update KC script
I tested this on a localhost not sure I want to try to upgrade live site with this
there is one mention of this warning in the issue queue of token that might be helpful #1712336: Notice: Array to string conversion in token_asort_tokens
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedI saw it once, but then I didn't see it anymore so I assumed it got fixed...
Comment #2
Infinitee CreditAttribution: Infinitee commentedI get these warnings after every cache dump:
Warning: strnatcmp() expects parameter 2 to be string, array given in token_asort_tokens() (line 565 of J:\AquiaDrupal7\domains\drupal7\profiles\commerce_kickstart\profiles\commerce_kickstart\modules\contrib\token\token.module).
Warning: strnatcmp() expects parameter 1 to be string, array given in token_asort_tokens() (line 565 of J:\AquiaDrupal7\domains\drupal7\profiles\commerce_kickstart\profiles\commerce_kickstart\modules\contrib\token\token.module).
Warning: strnatcmp() expects parameter 2 to be string, array given in token_asort_tokens() (line 565 of J:\AquiaDrupal7\domains\drupal7\profiles\commerce_kickstart\profiles\commerce_kickstart\modules\contrib\token\token.module).
Warning: strnatcmp() expects parameter 2 to be string, array given in token_asort_tokens() (line 565 of J:\AquiaDrupal7\domains\drupal7\profiles\commerce_kickstart\profiles\commerce_kickstart\modules\contrib\token\token.module).
Warning: uasort() [function.uasort]: Array was modified by the user comparison function in token_get_info() (line 525 of J:\AquiaDrupal7\domains\drupal7\profiles\commerce_kickstart\profiles\commerce_kickstart\modules\contrib\token\token.module).
Notice: Undefined index: summary in node_tokens() (line 142 of J:\AquiaDrupal7\domains\drupal7\profiles\commerce_kickstart\modules\node\node.tokens.inc).
Comment #3
Infinitee CreditAttribution: Infinitee commentedThis patch worked for me...
http://drupal.org/node/1712336#comment-6914290
commerce_kickstart contrib directory:
profiles\commerce_kickstart\profiles\commerce_kickstart\modules\contrib\token
Comment #4
jsacksick CreditAttribution: jsacksick commentedI commited a change that add the patch https://code.drupalcommerce.org/#/c/605/
Comment #5
jsacksick CreditAttribution: jsacksick commented