Closed (duplicate)
Project:
Pathauto
Version:
8.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2016 at 13:22 UTC
Updated:
4 Jun 2019 at 20:15 UTC
Jump to comment: Most recent
Comments
Comment #2
GenOneStudios commentedI also have this same issue
Content
The URL alias field needs to be uninstalled.
Taxonomy term
The URL alias field needs to be uninstalled.
I have upgraded from Drupal 6 to 8.1.0.
Comment #3
GenOneStudios commentedDisabling the Path AUto module seemed to remove these items from my reports.
Comment #4
thommyboy commentedDisabling in D8 means De-Installing and sure it removes the messages ;) But I tried de-installing and installing again to see what happens and the message re-appeared.
Comment #5
berdirDuplicate of #2661178: Error: Mismatched entity and/or field definitions
See over there for the details reasons. In short. This is not a problem, you can ignore it, it will eventually be fixed in core. The message is bogus, there is no problem.
Comment #6
berdirWrong status.
Comment #7
drupalfan2 commentedHow can I get rid of this message
Error: Mismatched entity and/or field definitions?Thank you.
Comment #8
Alberto786 commentedThis is the method I used to fix the problem after I updated my Drupal 8 core and was getting the same error messages, If you have Devel module installed, you can also use the "Execute PHP Code" ,I went to my index.php file and added this code(seebelow), then I reloaded the page at admin end, cleared cached and Wala, error disappeared, after that I removed the code from index.php file and everything is working on my end.
I hope it works for you too.
Here is the code:
try {
\Drupal::entityDefinitionUpdateManager()->applyUpdates();
}
catch (EntityStorageException $e) {
print_r($e);
}
Comment #9
kvantstudio commentedSimply super! The solution really works!
Comment #10
nebojsa.ilijoski commentedYes, #8 worked! Thanks!
Comment #11
caspervoogt commentedYay for #8! Thanks @Alberto786!
Comment #12
Screenack commentedI ran #8, which fixed it, but if you google to this page, note this, which I like better:
drush entity-updatesWhile devel is a solid module, drush should be required.
Which is found here: https://www.drupal.org/node/2733227
Comment #13
rcodinaComment #14
atomicnation commentedSuper! #8 worked for me!
Thanks @Alberto786!
Comment #15
johnhanley commented#12 is simpler and makes more sense.
Comment #16
philae_it commented#12 is better, clean and simpler
It works for me
Comment #17
jmomandown commenteddrupal update:entitiesfor those running drupal console and composer instead of drush FYI
Comment #18
.jch commented#17 fixes d8.3.2 and commerce 2.x problems after installing pathauto
Comment #19
farnoosh commented#12 works for me. Thanks
Comment #20
admin@beerbaitandfishing.com commented#12 worked for me
Comment #21
thachakrit commented#12 worked for me. Thanks
Comment #22
.jch commentedd8.6.1
drupal update:entitiesWorked for Stores URL alias problem after commerce 2.x-dev ("0f78ee4e74f3105345a72ec0aa8c6df3765f7338") build update. Note: site built with composer and using Pathauto to bulk generate url aliases.Maybe I'll toss this into update.php?
Comment #23
dschoni commented#8 is not working on my site.
#12 and #17 too (can't install drush or composer, because it's on a web distributors server).
I've tried the code from #8 in update.php too, but this won't work and blocks update.php from being executed.
It's also not working on sites.php or settings.php
Comment #24
webengr commentedYep, I needed also to add url alias field,
$ drush9 entity-updates
The following updates are pending:
file entity type :
The URL alias field needs to be installed.
Do you wish to run all pending updates? (yes/no) [yes]:
> yes
[success] Finished performing updates.