Closed (cannot reproduce)
Project:
Libraries API
Version:
7.x-2.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2012 at 09:42 UTC
Updated:
22 Jul 2013 at 22:53 UTC
The function tries to add to the array $library['variants'] wich is not yet set.
$library['variants'] += array($variant => array('installed' => FALSE));
Comments
Comment #1
tstoecklerActually it is set by libraries_info_defaults() (see l. 355).
What is the setup in which you got that error?
Comment #2
tstoecklerNo response, marking fixed.
Comment #3
Chris CharltonFor reference, a similar issue: https://drupal.org/node/1988882
Comment #4
Chris CharltonI received this error after a standard updating from 7.x-2.0 to 7.x-2.1 release, but the error line for me is 609.
Comment #5
Chris CharltonComment #6
Chris CharltonAfter a little hacking, I got all caches to flush properly and now the error is gone. I got the idea from this issue https://drupal.org/node/1938638 and it seems to have helped. Maybe there's an issue with cached libraries and flushing caches upon update.
Putting ticket status back to what it was before I jumped in.