Category: orm

Mapping Exception in Symfony / Doctrine: The target-entity AppDocumentBundleFile cannot be found in ‘AppDocumentBundleEntityDocument#file’

I’m trying to upgrade an application running on Symfony 3.4 to version 4.4. I already did multiple changes and adaptions according to the official documentation for upgrading Symfony. Neverthelesse, I’m stuck now with the following error that comes up when…

Symfony Mapping Error: "The association EntityRule#ruleSettings refers to the owning side field EntityRuleSettings#rules which does not exist."

I would ask why am I getting error [FAIL] The entity-class AppBundleEntityRule mapping is invalid: * The association AppBundleEntityRule#ruleSettings refers to the owning side field AppBundleEntityRuleSettings#rules which does not exist. [FAIL] The entity-class AppBundleEntityRuleSettings mapping is invalid: * The association…