/admin/structure/library

Click "export":
Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::implementsHook() in Drupal\library_manager\LibraryDiscovery->exportLibraryByName() (line 119 of /var/www/html/web/modules/contrib/library_manager/src/LibraryDiscovery.php).

Click "create definition":
Error: Call to undefined function Drupal\library_manager\Form\file_valid_uri() in Drupal\library_manager\Form\LibraryDefinitionBuildForm->createFileDefinitions() (line 197 of /var/www/html/web/modules/contrib/library_manager/src/Form/LibraryDefinitionBuildForm.php).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lawxen created an issue. See original summary.

shivamsen_12579 changed the visibility of the branch 3432886-some-error-on to hidden.

raveen_thakur51’s picture

Can you please provide issue details?

lawxen’s picture

StatusFileSize
new321.96 KB

Drupal 10.2.x-dev
library_manager: 2.0.4 & 2.0.x-dev
Link: /admin/structure/library

lawxen’s picture

Issue summary: View changes

dineshkumarbollu’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new48.55 KB

MR!4 fixes the error.Moving to RTBC

raveen_thakur51’s picture

@lawxen, Thanks for explaining the issue, Yes i have fresh drupal installed and on click of export the website was throwing error. In fact website was going down.

raveen_thakur51’s picture

I have implemented the MR and on click of export button, things are working fine as you can see in my aatached screesnhot.
https://prnt.sc/nr8MSylu2ZjI

The changes can be imported as the rest functionality seems to be working fine.
Thank You!!

smulvih2’s picture

Changes here work for me on Drupal core 10.2.7.

This has been merged with 2.0.x. Will push a new release later today with these changes. Thanks @lawen!

smulvih2’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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