Function form_select() receives a null option for the following:
form_select(Page layout, epublish_global_layout_page, regular, Null)
form_select(Listing layout, epublish_global_layout_list, list, Null)
The result is that both selection lists are empty and Drupal produces error:
warning: Invalid argument supplied for foreach() in i:\home\drupal\includes\common.inc on line 1317.
I eventually found out it was because I had moved the epublish code modules from web/modules/epublish to an include directory outside of the web directory. I use several other Drupal modules and they all work when I move their code. If there is an easy Drupal way to request the layout code from the same directory as the epublish.module then that would make life easier for those of us who move the code to a safer place.
Comments
Comment #1
Patricia Barden commentedThis has been fixed.