<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic array_key_exists() warning when sendRequest() on PHP Automation Client in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/array-key-exists-warning-when-sendrequest-on-php-automation/m-p/321244#M8245</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;When I execute a query using PHP Automation Client, I receive a warning from a parameter expected in NuxeoAutomationAPI.php.&lt;/P&gt;
&lt;P&gt;The code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$uid = '9dbfxxxx-xxxx-xxxx-xxxx-xxxxxxxx2b64';
$client = new PhpAutomationClient('http://localhost:8080/nuxeo/site/automation');
$session = $client-&amp;gt;getSession('Administrator','Administrator');
$answer = $session-&amp;gt;newRequest("Document.Query")-&amp;gt;set('params', 'query', "SELECT * FROM Document WHERE ecm:uuid = '" . $uid . "'" )-&amp;gt;sendRequest();
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The warning:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Warning: array_key_exists() expects parameter 2 to be array, boolean given in C:\wamp\www\utils\nuxeo\NuxeoAutomationAPI.php on line 106
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't understand what happens but I need to avoid this warning, can someone help me about it?,&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2013 15:37:30 GMT</pubDate>
    <dc:creator>Marc_</dc:creator>
    <dc:date>2013-11-18T15:37:30Z</dc:date>
    <item>
      <title>array_key_exists() warning when sendRequest() on PHP Automation Client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/array-key-exists-warning-when-sendrequest-on-php-automation/m-p/321244#M8245</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;When I execute a query using PHP Automation Client, I receive a warning from a parameter expected in NuxeoAutomationAPI.php.&lt;/P&gt;
&lt;P&gt;The code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$uid = '9dbfxxxx-xxxx-xxxx-xxxx-xxxxxxxx2b64';
$client = new PhpAutomationClient('http://localhost:8080/nuxeo/site/automation');
$session = $client-&amp;gt;getSession('Administrator','Administrator');
$answer = $session-&amp;gt;newRequest("Document.Query")-&amp;gt;set('params', 'query', "SELECT * FROM Document WHERE ecm:uuid = '" . $uid . "'" )-&amp;gt;sendRequest();
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The warning:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Warning: array_key_exists() expects parameter 2 to be array, boolean given in C:\wamp\www\utils\nuxeo\NuxeoAutomationAPI.php on line 106
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't understand what happens but I need to avoid this warning, can someone help me about it?,&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 15:37:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/array-key-exists-warning-when-sendrequest-on-php-automation/m-p/321244#M8245</guid>
      <dc:creator>Marc_</dc:creator>
      <dc:date>2013-11-18T15:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: array_key_exists() warning when sendRequest() on PHP Automation Client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/array-key-exists-warning-when-sendrequest-on-php-automation/m-p/321245#M8246</link>
      <description>&lt;P&gt;The problem is the same like in &lt;A href="http://answers.nuxeo.com/questions/7353/getdocumentlist-error-on-php-automation-client" target="test_blank"&gt;http://answers.nuxeo.com/questions/7353/getdocumentlist-error-on-php-automation-client&lt;/A&gt; but you have only one document.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 19:34:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/array-key-exists-warning-when-sendrequest-on-php-automation/m-p/321245#M8246</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2013-11-18T19:34:19Z</dc:date>
    </item>
  </channel>
</rss>

