I have enable pathauto 8.x-1.5 module in drupal 11 through composer. I am getting below error.
Fatal error: Cannot redeclare function pathauto_token_info() (previously declared in /var/www/html/modules/contrib/pathauto/pathauto.module:121) in /var/www/html/modules/contrib/pathauto/pathauto.tokens.inc on line 13
Comments
Comment #2
berdirPathauto 8.x-1.15 does not have a tokens.inc file. It does not sounds like you used composer but replaced the files over the existing ones. Delete the current pathauto files and cleanly install them.