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).


calefilm’s picture

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.

tstoeckler’s picture

Category: bug » support

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):

return implode(' ', module_implements('libraries_info'));

And see what modules it lists in the block.

calefilm’s picture

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'

tstoeckler’s picture

Status: Active » Closed (duplicate)