I am actually posting this here and in auto node title module issues.

While trying to access the operation 'edit' for a Content Type, the interface of the page is dropped back to some basic text.
(I cannot say technically what is happening but the actual theme disappears, just simple text is visible, but does not offer any editing option any more).

As this module is based (or uses) token, I also cannot say if token is the problem or auto node title module.
Both work indipendently, but not togehther.

So the ->edit 'Content Type' is possible without the token module installed but the auto nodetitle installed.
And the ->edit 'Content Type' is possible without the auto nodetitle module installed but the token module installed.

And of course without any of them installed.

Here is a report code.

Warning: strnatcmp() expects parameter 2 to be string, array given in token_asort_tokens() (line 462 of /home/www/web/drupal/sites/all/modules/token/token.module).

Warning: strnatcmp() expects parameter 1 to be string, array given in token_asort_tokens() (line 462 of /home/www/web/drupal/sites/all/modules/token/token.module).

------ add:

Actually iam having more problems with the token module:
I am getting this when i inset token in a textfield.
And the token is not tranlated but only shown as the source.

Warning: strnatcmp() expects parameter 2 to be string, array given in token_asort_tokens() (line 462 of /home/www/web/drupal/sites/all/modules/token/token.module).
Warning: strnatcmp() expects parameter 1 to be string, array given in token_asort_tokens() (line 462 of /home/www/web/drupal/sites/all/modules/token/token.module).
Warning: uasort(): Array was modified by the user comparison function in token_get_info() (line 428 of /home/www/web/drupal/sites/all/modules/token/token.module).

Thank your for some advice.

Werner

CommentFileSizeAuthor
auto_nodetitle.jpg43.48 KByamaciller
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yamaciller’s picture

Project: Token » Automatic Nodetitles
Issue summary: View changes

updated text

yamaciller’s picture

Issue summary: View changes

Updated with 2 log messages.

colan’s picture

Title: Editing of a 'Content Type' drops page interface » The Auto Nodetitle token implementation is broken
Component: User interface » Code

Sounds like Auto Nodetitles isn't implemented tokens correctly. It's probably doing something like #1364162: strnatcmp() expects parameter 2 to be string, array given - from token.module. (This isn't a problem with the Token module.)

colan’s picture

Issue summary: View changes

edit for more info

gaurav.kapoor’s picture

Status: Active » Closed (outdated)