🇩🇰Denmark klausdk
I had the same issue with the redirect module.
With drush updb It wants to run :
function redirect_update_7100() {
if (!class_exists('RedirectController')) {
registry_rebuild();
entity_info_cache_clear();
}
}
But it can't because of the entity error.
My solution was to run drush php-eval 'registry_rebuild();entity_info_cache_clear()'
Later I found out that the drush updb had already been executed on a php 7 server, so I was able to get a database dump from there, which fixed the issue.
Though, I'm not sure if the error will reappear later on.
Hope it helps.