After a recent update (https://git.drupalcode.org/project/examples/commit/746b24a0b88d806f6fa4a...) in the module getting the below error.

Drupal\Core\Extension\Exception\UnknownExtensionException: The module ajax_example does not exist or is not installed. in Drupal\Core\Extension\ExtensionList->getExtensionInfo() (line 344 of /var/www/web/core/lib/Drupal/Core/Extension/ExtensionList.php

CommentFileSizeAuthor
#3 getting_error-3092947.patch1.34 KBpratik_kamble

Comments

pratik_kamble created an issue. See original summary.

pratik_kamble’s picture

Workin on fixing it.

pratik_kamble’s picture

StatusFileSize
new1.34 KB

Please find the below patch to fix the issue.

pratik_kamble’s picture

Status: Active » Needs review
msidiagnos’s picture

I've got the same error after the last update of the Drupal core and some modules including "examples" (Updating drupal/examples dev-1.x (71da2d0 => 56eebb7): Checking out 56eebb7e27).

The patch solved this problem.

jungle’s picture

Status: Needs review » Reviewed & tested by the community

This patch could fix a few tests of submodules as well. Thanks!

jungle’s picture

Test cases of my patch included the patch here, are all green now. See https://www.drupal.org/project/examples/issues/3103586#comment-13406194

valthebald’s picture

  • valthebald committed 560ad97 on 8.x-1.x
    Issue #3092947 by pratik_kamble, jungle: Getting error when module is...
valthebald’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x-1.x, thank you!

Status: Fixed » Closed (fixed)

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