Pathauto Version: 7.x-1.3+3-dev
Drupal version: 7.67

When trying to Bulk Generate /admin/config/search/path/update_bulk "User paths", it got stuck at 99.998% and the /admin/reports/dblog showed this warning:

Warning: max(): Array must contain at least one element in user_pathauto_bulk_update_batch_process() (line 175 of /.../public/sites/all/modules/contrib/pathauto/pathauto.pathauto.inc).

Saw similar issue in 8.x and the fix

Will attach a patch...

CommentFileSizeAuthor
#2 3064335-2.patch651 bytesdev11235

Comments

dev11235 created an issue. See original summary.

dev11235’s picture

StatusFileSize
new651 bytes

Here is a patch...

joelpittet’s picture

Status: Needs review » Reviewed & tested by the community

Considering this is a backport of a committed fix in D8 #2932432: Bulk Generate: ajax error due to warning for max() function, I'm setting this to RTBC.

chris matthews’s picture

mably’s picture

Status: Reviewed & tested by the community » Closed (outdated)

7.x development is not supported anymore.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.