(panels, ctools & contact form) - Invalid argument supplied for foreach()
Happy New Year List! I've taken over my contact page using Panels so that I can get two contact forms side by side (one "general" and the other for work enquiries). On this page: http://alpha.fresh-off.com/contact I'm getting the following error: warning: Invalid argument supplied for foreach() in /home/freshoff/railsapp/public/alpha/sites/all/modules/ctools/plugins/conten t_types/node/node.inc on line 46. Searching around Drupal.org, I found this patch: Index: ctools/page_manager/plugins/tasks/contact_site.inc =================================================================== --- ctools/page_manager/plugins/tasks/contact_site.inc (revision 522) +++ ctools/page_manager/plugins/tasks/contact_site.inc (working copy) @@ -73,7 +73,7 @@ ctools_include('context'); ctools_include('context-task-handler'); - $output = ctools_context_handler_render($task, '', array(), ''); + $output = ctools_context_handler_render($task, '', array(), array()); if ($output !== FALSE) { return $output; } But it didn't seem to have any effect. Any suggestions? ----- brendan, fresh-off.com Creative Direction & Consultation: Web | Print | Brand http://fresh-off.com hello@fresh-off.com 206.328.1067 seattle.usa
participants (1)
-
brendan, fresh-off.com