I got the issue after I install this module. Does anyone has same issue?

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "crop_type" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 125 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Comments

tamnv created an issue. See original summary.

slashrsm’s picture

Category: Bug report » Support request
Priority: Major » Normal
Issue tags: -crop api +D8Media

I can't reproduce this. Did you try with -dev release?

woprrr’s picture

I confirm, never seen that (i ve checked in 8.0 / 8.2 / 8.3).

@tamnv Please can you take more informations to reproduce this eventual error ?

E.g : Can you write an reproduction path scénario please :)

  1. Install Fresh drupal v8.x.x
  2. Enable crop module version 8.x.x...
woprrr’s picture

Status: Active » Postponed (maintainer needs more info)
stewest’s picture

Just 2 cents worth. I've just upgraded to Drupal 8.2.1 and I get this msg while trying to drush updb.

Crop API (drupal.org/project/crop) module is now a dependency and needs to be installed before running updates. [error]
Performing focal_point_update_8001 [ok]

Packagist says Focal Point requires drupal/crop: >=8.1.0-alpha2

So, what I did to fix the error was Not manually adding crop, but allow composer to install it for me.

In my composer.json I just have: "drupal/focal_point": "~8.0", without drupal/crop. I then must enable crop first, then run drush updb.

mihail.andreev’s picture

I've just got this bug while transferring with Features configuration between website. If this will help to see this error.

Rainer F. Gottlieb’s picture

Got this error after removing some modules, also focal_point. After reinstall focal_point, this error was "fixed". We are working with 8.3.x and as far as I know, we did not use focal_point, we only activated it.

woprrr’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

This error seem's to be fixed in 8.3. Impossible to reproduce in 1.4 / 2.x (Drupal 8.4 and 8.5).