Hi, it looks like when a user creates a new Biblio node (using the Bibliography module as a content type for Organic Groups) they cannot get past the first step of choosing a publication type. The only way around this is by giving the user administrative access to the menu. Here is the errors that show up:
* warning: Invalid argument supplied for foreach() in C:\server_path\sites\all\modules\og_menu\og_menu.module on line 484.
* You cannot add menu items to this menu. Choose another parent menu.
* warning: Invalid argument supplied for foreach() in C:\server_path\sites\all\modules\og_menu\og_menu.module on line 484.
Once I give the user administrative access to menus, these errors do not show.
Comments
Comment #1
ghosty commentedI see the problem. Any form that uses multiple pages such as the bibliography module would show these errors. I think inside of
function og_menu_node_form_validate($form, &$form_state) {
we should add a check to see if the current form is using the storage variable and if so, to not validate. This should work:
if (!isset($form_state['storage'])) {
Comment #2
rv0 commentedClosing old issues