Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
scw CreditAttribution: scw commentedthats 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 #).