Pathauto removed pathauto_entity_update() in:
http://cgit.drupalcode.org/pathauto/commit/?id=9206016d0641e4fa9742ac2f7...

Executing media_update_8500                                             [notice]
Error: Call to undefined function                                        [error]
Drupal\fieldable_path\Controller\pathauto_entity_update() in
Drupal\fieldable_path\Controller\FieldablePathController->pathautoGenerateAlias()
(line 141 of
/var/www/drupalvm/docroot/modules/contrib/fieldable_path/src/Controller/FieldablePathController.php)
#0
/var/www/drupalvm/docroot/modules/contrib/fieldable_path/fieldable_path.module(65):
Drupal\fieldable_path\Controller\FieldablePathController->pathautoGenerateAlias(Object(Drupal\lightning_core\Entity\Role),
'update')
#1 [internal function]:
fieldable_path_entity_update(Object(Drupal\lightning_core\Entity\Role),

This breaks pathautoGenerateAlias() in fieldable_paths.

CommentFileSizeAuthor
#2 2949926-2-replace-pathauto-entity-update.diff588 bytessime

Comments

sime created an issue. See original summary.

sime’s picture

StatusFileSize
new588 bytes

Attempted fix

guietc’s picture

I applied the patch from #2 and it works for me.

joelpittet’s picture

Version: 8.x-1.0-rc4 » 8.x-1.x-dev
Status: Active » Reviewed & tested by the community

Works for @bmx269. I'll RTBC this on his and @Guietc's behalf but either of them can confirm.

spleshka’s picture

  • Spleshka committed 67bde0f on 8.x-1.x authored by sime
    Issue #2949926 by sime, Guietc, joelpittet, Spleshka: Undefined function...
spleshka’s picture

Status: Reviewed & tested by the community » Fixed

At the same time I still like the version of the code from the patch more, so it got committed :) Thank you guys for patch / review.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.