<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.thmrcall
        {mso-style-name:thmr_call;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><b>Happy New Year List!<o:p></o:p></b></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I&#8217;ve taken over my contact page using Panels so that I
can get two contact forms side by side (one &#8220;general&#8221; and the other
for work enquiries). &nbsp;<o:p></o:p></p>

<p class=MsoNormal>On this page: <a href="http://alpha.fresh-off.com/contact">http://alpha.fresh-off.com/contact</a>
&nbsp;&nbsp;I&#8217;m getting the following error:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span class=thmrcall><span style='font-size:10.0pt;
font-family:"Lucida Console";color:#C00000'>warning: Invalid argument supplied
for foreach() in /home/freshoff/railsapp/public/alpha/sites/all/modules/ctools/plugins/content_types/node/node.inc
on line 46.<o:p></o:p></span></span></p>

<p class=MsoNormal><span class=thmrcall><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span class=thmrcall><o:p>&nbsp;</o:p></span></p>

<pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Searching around Drupal.org, I found this patch:<o:p></o:p></span></pre><pre><br>
<br>
<span style='font-family:"Lucida Console";color:#1F497D'>Index: ctools/page_manager/plugins/tasks/contact_site.inc<o:p></o:p></span></pre>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>===================================================================<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>--- ctools/page_manager/plugins/tasks/contact_site.inc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (revision
522)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>+++ ctools/page_manager/plugins/tasks/contact_site.inc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (working
copy)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>@@ -73,7 +73,7 @@<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>&nbsp;&nbsp; ctools_include('context');<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>&nbsp;&nbsp; ctools_include('context-task-handler');<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>-&nbsp; $output = ctools_context_handler_render($task, '',
array(), '');<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>+&nbsp; $output = ctools_context_handler_render($task, '',
array(), array());<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>&nbsp;&nbsp; if ($output !== FALSE) {<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; return $output;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#1F497D'>&nbsp;&nbsp; }<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>But it didn&#8217;t seem to have any effect. &nbsp;Any
suggestions? <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>-----<o:p></o:p></p>

<p class=MsoNormal><b><span style='color:#7F7F7F'>brendan, fresh-off.com<o:p></o:p></span></b></p>

<p class=MsoNormal><span style='color:#7F7F7F'>Creative Direction &amp;
Consultation: Web | Print | Brand<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><a href="http://fresh-off.com">http://fresh-off.com</a><o:p></o:p></p>

<p class=MsoNormal><a href="mailto:hello@fresh-off.com">hello@fresh-off.com</a><o:p></o:p></p>

<p class=MsoNormal><span style='color:#7F7F7F'>206.328.1067<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#7F7F7F'>seattle.usa<o:p></o:p></span></p>

<p class=MsoNormal><br>
<br>
<o:p></o:p></p>

</div>

</body>

</html>