Just needs a check before these two foreach() as attached. May be others missing.

Probably doesn't appear except on new installs?

CommentFileSizeAuthor
pathauto_18.patch1.76 KBxurizaemon

Comments

xurizaemon’s picture

Version: 5.x-2.0-beta3 » 5.x-2.0-beta4

upgraded to b4 and verified that bug still exists. original patch fixes same issue there too.

without this patch, you'll see warnings when updating the pathauto settings

greggles’s picture

Do you have token installed? I believe this only happens when token module is not installed or is not getting the placeholders which is usually an include/path problem.

greggles’s picture

Status: Active » Needs work

Or the other thing that I'm saying is, if people have this problem we should warn them instead of just silently continuing on.

greggles’s picture

Status: Needs work » Closed (duplicate)

I believe this is duplicate of the "token not installed" bug.

As of the current development release if that happens you get a nice warning message:

    drupal_set_message(t('It appears that the <a href="@token_link">Token module</a> is not installed.  Please ensure that you have it installed so that Pathauto can work properly.  You may need to disable Pathauto and re-enable it to get Token enabled.', array('@token_link' => 'http://drupal.org/project/token')), 'error');