A few days ago I started seeing these errors on the admin pages as I do unrelated things. I haven't updated the code in over a week, so I'm not sure what's going on. Any advice would be appreciated. It doesn't happen all the time, but sometimes it does... Thanks!

Warning: array_combine(): Both parameters should have at least 1 element in bean_all_filter_blocks() (line 132 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_diff_key(): Argument #2 is not an array in bean_all_filter_blocks() (line 133 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: Invalid argument supplied for foreach() in bean_all_block_info_alter() (line 115 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_combine(): Both parameters should have at least 1 element in bean_all_filter_blocks() (line 132 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_diff_key(): Argument #2 is not an array in bean_all_filter_blocks() (line 133 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: Invalid argument supplied for foreach() in bean_all_block_info_alter() (line 115 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_combine(): Both parameters should have at least 1 element in bean_all_filter_blocks() (line 132 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_diff_key(): Argument #2 is not an array in bean_all_filter_blocks() (line 133 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: Invalid argument supplied for foreach() in bean_all_block_info_alter() (line 115 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_combine(): Both parameters should have at least 1 element in bean_all_filter_blocks() (line 132 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_diff_key(): Argument #2 is not an array in bean_all_filter_blocks() (line 133 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: Invalid argument supplied for foreach() in bean_all_block_info_alter() (line 115 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_combine(): Both parameters should have at least 1 element in bean_all_filter_blocks() (line 132 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_diff_key(): Argument #2 is not an array in bean_all_filter_blocks() (line 133 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: Invalid argument supplied for foreach() in _bean_all_bean_types() (line 57 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_combine(): Both parameters should have at least 1 element in bean_all_filter_blocks() (line 132 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: array_diff_key(): Argument #2 is not an array in bean_all_filter_blocks() (line 133 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
Warning: Invalid argument supplied for foreach() in bean_all_block_info_alter() (line 115 of /var/www/example.com/www/sites/all/modules/bean/bean_all/bean_all.module).
CommentFileSizeAuthor
#4 bean_all-1936302-4.patch503 bytesmarkus_petrux

Comments

saltednut’s picture

Status: Active » Postponed (maintainer needs more info)

Can you give us more info? Is this still an issue using latest HEAD?

oxyc’s picture

I'm seeing this as well, while using the latest version.

This occurs because of the menu_block module. The menu_block_bean_all_blacklist variable returns an empty array which causes the warnings.

Visiting admin/config/system/bean-all and simply saving seems to fix the problem.

donutdan4114’s picture

Version: 7.x-1.1 » 7.x-1.x-dev

Cannot reproduce. Are there exact steps known to reproduce this issue?

donutdan4114’s picture

Issue summary: View changes

extra info

markus_petrux’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new503 bytes

Hi all,

We got this problem as well, detected when caches are flushed. It happens when bean_all_get_blacklist() returns an empty array.

Fix is pretty simple. Patch attached.

indytechcook’s picture

Status: Needs review » Closed (won't fix)

So the bean_all module was removed so this is no longer applicable.