Problem/Motivation
When using the webprofiler you encounter some hard errors. The reason is because we inject EntityTypeManager.
Proposed resolution
We should use the EntityTypeManagerInterface instead.
In:
- modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php
- modules/social_features/social_post/src/PostAccessControlHandler.php
- modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php
There is also one in the like_dislike module which is already fixed in the latest version (we just need to update the module in Open Social).
Comments
Comment #2
jaapjan commentedPR here:
https://github.com/goalgorilla/open_social/pull/1501
Comment #5
jaapjan commented