Error Relation behavior does not contain a definition for

Error Relation behavior does not contain a definition for
In clicke list relation

Version oc 3.7

Hi @Dheia,

Have you defined the relation correctly in your model?

Here’s the documentation on setting up the Relation Controller:

The error is in the RainLab.User Plugins Version 3
And User Plus+ plugin
Vdrsion 2

In Address Book
Relation name addresses

This error occurs in the relationship type has Many. I checked the code and saw the same error in more than one place, although I am sure the code is correct. I even have other add-ons that contain the same relationships and work on the oc-v2 version. When copying the same add-on to the oc-v3.7 version, the same error occurs. Please confirm the causes of this error in the Backend\Behaviors\RelationController class.

Note: This error occurred only when editing, that is, when clicking on the private record in the relationship to edit it.