Upgrade to 5.81 user found helpful
I'm having dificulty upgrading to the 5.8 version of concrete.
I got this error
Doctrine \ ORM \ Internal \ Hydration \ HydrationException
The DQL alias 'r' contains an entity of an inheritance hierarchy with an empty discriminator value. This means that the database contains inconsistent data with an empty discriminator value in a table row.
In case you ran the update previously and it failed, do the following:
- Revert the database to what it was prior to the update
- Revert the /application/config/doctrine/proxies folder to what it was prior to the update
After this, the update ran correctly at least in our case and the exception was gone.
Hopefully this helps!
I managed to upgrade when I update AttributeKeys table with akCategory field and updating each row with predefinded value like userkey, pagekey etc. Also needed to add search_file_folder entry int the PermissionKeys table.
Will try your method as well. Thank you very much.