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

jaapjan created an issue. See original summary.

jaapjan’s picture

jaapjan credited jochemvn.

jaapjan’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.