I am getting the following warnings when enabling the module on a new site:

    * Warning: Invalid argument supplied for foreach() in _block_rehash() (line 386 of [path]\modules\block\block.module).
    * Warning: Invalid argument supplied for foreach() in _block_rehash() (line 386 of [path]\modules\block\block.module).

Can these be ignored and the module will still work or is it not properly installed?

Comments

scw’s picture

Status: Active » Fixed

thats because 'hook_block_info' does not offer data... It is proper installed, to avoid the messages delete 'function tweetbutton_block_info' in tweetbutton.module file on line #114 (something around that #).

Status: Fixed » Closed (fixed)

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