I get the following php error twice when enabling the module or clearing the cache:

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

When disabling and uninstalling the module the errors are gone when clearing the cache.

Comments

chia’s picture

Many thanks for testing it, it seems to have incomplete implementation of hook_block_info
I have fixed it. Should show up when the next time package script will run.

chia’s picture

Status: Active » Fixed

marking as fixed based upon above comment

tsvenson’s picture

Status: Fixed » Reviewed & tested by the community

@chia No new dev version has popped up yet. When looking at CVS messages, it seems you committed this patch to 7--2 and not 7--1. Also, when using the CVS viewer I get a download requester when clicking on the latest version (FF) and not a normal HTML page showing the diff. Not sure what's going on here, maybe it has something to do with that the new file is 6.66 KB big according to Windows :)

Anyway I downloaded the new .module and tested it. It works for me, the error msgs are gone.

chia’s picture

Yes, i think i might have commited it to 7--2
Many thanks for testing and helping me out. I will make the change to 7--1 branch soon.

chia’s picture

Status: Reviewed & tested by the community » Fixed

The module now implements hook_block_info, so it should work okay now.

Status: Fixed » Closed (fixed)

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