After upgrading a site to the latest Drupal (8.6.14) and then installing ckeditor_uploadimage, we experienced some errors.
When editing any media or when configuring a text format that use CKEditor.

The site just shows the following error message:
The website encountered an unexpected error. Please try again later.

In the log messages I find this message:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "media" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 133 of /srv/www/vhosts/newbroken.trusoft.co.za/core/lib/Drupal/Core/Entity/EntityTypeManager.php).

When I uninstall the module, the site works fine again.

Initially, I thought it was the Drupal upgrade to v 8.6.14 that caused the problem and after trying all the upgrade fixes, I decided to do a new installation, but then as soon as I enabled the ckeditor_uploadimage module, the new, clean site has the same problem.

Andre Truter

Comments

andretr created an issue. See original summary.

andretr’s picture

Status: Active » Closed (won't fix)

OK, I am going to close this myself.

I just realised that in Drupal 8.6.14, the standard CKeditor already have an image upload option built in. You just need to enable it and there you go!

So this module is not needed anymore for the latest Drupal.

Thanks

arpeggio’s picture

Status: Closed (won't fix) » Active

Fyi:

CKEditor Upload Image enables WYSIWYG text editor capable of uploading images that were dropped or pasted from clipboard into the editor as inline image.

You will not need this module if you only want the conventional way which is browsing the image file in computer's or device's file system to upload it.

  • arpeggio committed 6c3d875 on 8.x-1.x
    Issue #3047700 by arpeggio: Fixed issue cannot edit media or configure...
arpeggio’s picture

Status: Active » Fixed

I have already fixed this issue. Thank you for reporting this issue @andretr.

Status: Fixed » Closed (fixed)

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