error message:

Undefined index: installed libraries.drush.inc:68

the code in question:

65|     // Only list installed variants.
66|      $variants = array();
67|      foreach ($library['variants'] as $variant_name => $variant) {
68|        if ($variant['installed']) {
69|          $variants[] = $variant_name;
70|        }
71|      }

mm still testing some modules that need Libraries, so not all are installed, including Colorbox. is this the reason why Drush is breaking?

Comments

tstoeckler’s picture

Status: Active » Postponed (maintainer needs more info)

I just re-tried this, and I'm not getting the error. As you can see in libraries_detect_library() 'installed' should always be set, so I don't know what is causing this. Can you post the output of libraries_info(), please? Thanks.

liza’s picture

am sorry, how do i do that? do i create a file? do i put it through devel?
thanx.

tstoeckler’s picture

If you have Drush you should be able to run drush libraries-list. Otherwise you can use either the Devel code block or the PHP filter to run the following code:

print_r(libraries_info());

Let me know, if you need any further help!

tstoeckler’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Fixed

Closing this. Please re-open if you're still experiencing problems.

Status: Fixed » Closed (fixed)

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