Posted by calefilm on April 12, 2012 at 4:14am
2 followers
Jump to:
| Project: | Libraries API |
| Version: | 7.x-2.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
I only receive this error when I'm enabling Zencoder library from Video Module. Not sure where to post this but because I can enable Zencoder and get my site to read it I thought I should consult Libraries API module instead to fix this.
Zencoder cannot work with Libraries API 1.0 so I had to upgrade to Alpha. Also tried it in Dev. Still get the error.
Warning: Invalid argument supplied for foreach() in libraries_info() (line 340 of /Users/me/Sites/acquia-drupal/sites/all/modules/libraries/libraries.module).
Comments
#1
I pinned it down. It's not Zencoder that's enabling this error, it's Views Slideshow: Galleria 7.x-3.0-alpha3. For some reason I'm having a conflict between these three modules. I can't enable all three together without getting that error.
#2
Could you post an exact list of the modules you have enabled?
From a brief glance, none of the mentioned modules implement hook_libraries_info() so, don't really know what to do here.
For extra credit, place the following in a block with the PHP filter module (inlcuding the php tags):
<?phpreturn implode(' ', module_implements('libraries_info'));
?>
And see what modules it lists in the block.
#3
it lists: videojs zencoderapi
However, I apologize. I should have referenced the thread over here: http://drupal.org/node/1529224 and here: http://drupal.org/node/1529288
The conflict was between Zencoder and Views Slideshow: Galleria 7.x-3.0-alpha3
Upon uninstalling Views Slideshow: Galleria module i do not have any more problems. So I think we can mark this as 'Fixed'
#4
Yes, it seems this was fixed in #1529288: Wrong implementation of hook_libraries_info().