Hello Greggles,

I installed the latest pathauto dev version and on install I get this error:

* warning: Invalid argument supplied for foreach() in /mnt/Target01/331286/www.centraledesnations.com/web/content/modules/Contrib/pathauto/pathauto... on line 39.
* warning: Invalid argument supplied for foreach() in /mnt/Target01/331286/www.centraledesnations.com/web/content/modules/Contrib/pathauto/pathauto... on line 16.
* warning: Invalid argument supplied for foreach() in /mnt/Target01/331286/www.centraledesnations.com/web/content/modules/Contrib/pathauto/pathauto... on line 194.
* warning: Invalid argument supplied for foreach() in /mnt/Target01/331286/www.centraledesnations.com/web/content/modules/Contrib/pathauto/pathauto... on line 194.
* warning: Invalid argument supplied for foreach() in /mnt/Target01/331286/www.centraledesnations.com/web/content/modules/Contrib/pathauto/pathauto... on line 39.
* warning: Invalid argument supplied for foreach() in /mnt/Target01/331286/www.centraledesnations.com/web/content/modules/Contrib/pathauto/pathauto... on line 16.
* warning: Invalid argument supplied for foreach() in /mnt/Target01/331286/www.centraledesnations.com/web/content/modules/Contrib/pathauto/pathauto... on line 194.
* warning: Invalid argument supplied for foreach() in /mnt/Target01/331286/www.centraledesnations.com/web/content/modules/Contrib/pathauto/pathauto... on line 194.

These errors also appear when I just visit the pathauto settings page. The path alias creation seems to work fine, tho.

Please tell me if you need any more details,
Thanks
Patchak

Comments

David N’s picture

Patchak,

Have you installed the latest version of the Token module? I believe installing that will get rid of the errors indicated with line 39. The errors on line 16 and 194 are mentioned in the issue queue for the Token module: http://drupal.org/node/139959. There is a patch somewhere in that issue queue that Greg has rolled into the latest release, which should be coming soon.

patchak’s picture

HI David,

Well I thought I did, but maybe things changed in the last two days. I'll check the latest version of token again, thanks for the tip.

Patchak

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

Yeah - there were definitely recent bugs that I fixed in token. Also, you could have to get token from CVS DRUPAL-5 branch to get the data.

I created a new 5.x-dev release at http://drupal.org/node/143907. Once that has been created (may take up to 12 hours) you can download that to help test the 5.x-2 version of pathauto.

If that version doesn't fix the problem please set this issue back to active.

Thanks!

greggles’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

assumed to be fixed.