On my local the error comes up when enabling the Layout builder module.
I believe it was because the previous developer had GDPR installed and enable then decided not to use the module and disabled it.
So I re-enabled the module and the error went away.
To get rid of GDPR_tasks
1.lando drush en gdpr_tasks -y
2. drush config-delete field.field.gdpr_task.gdpr_remove.removal_log
3. drush config-delete field.storage.gdpr_task.removal_log
4. drush pmu gdpr_tasks
5. lando drush pmu gdpr -y
6. lando drush pmu checklistapi -y
7. lando drush pmu anonymizer -y