Closed (duplicate)
Project:
LinkedIn Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2012 at 11:57 UTC
Updated:
28 Jul 2012 at 04:32 UTC
Warning: Invalid argument supplied for foreach() in _block_rehash() (line 389 of D:\wamp\www\mba\modules\block\block.module).
I get this error when enabling the latest linkedin module.
I thought initially it may be linked to this issue http://drupal.org/node/1371500#comment-5585832
and this file
linkedin/linkedin_profile/linkedin_profile.module
but the code appears correct?
Is there a fix for this in the latest release and when will the drupal 7 version be green lit?
Comments
Comment #1
ZenDoodles commentedThis is indeed a duplicate. Either the patch on #1371500: hook_block_info() must return an array() - warns "Invalid argument supplied for foreach() in _block_rehash()" or the one in #1703360: Unnecessary Variable for blocks should fix it.