issue with PHP array and 500 error
<p>So in my code I have:</p>

<pre><code> var_dump($poll);
</code></pre>

<p>which prints:</p>

<pre><code>object(stdClass)#2 (9) {
    ["parent"]=&gt; object(stdClass)#3 (3) {
        ["className"]=&gt; string(5) "Venue"
        ["__type"]=&gt; string(7) "Pointer"
        ["objectId"]=&gt; string(10) "HRSCYpe2FK"
    }
    ["no"]=&gt; int(0)
    ["updatedAt"]=&gt; string(24) "2011-11-06T23:37:17.917Z"
    ["creator"]=&gt; object(stdClass)#4 (3) {
        ["className"]=&gt; string(5) "_User"
        ["__type"]=&gt; string(7) "Pointer"
        ["objectId"]=&gt; string(10) "96K81tdpM4"
    }
    ["createdAt"]=&gt; string(24) "2011-11-06T23:37:14.591Z"
    ["yes"]=&gt; int(1)
    ["objectId"]=&gt; string(10) "U8ly32582W"
    ["question"]=&gt; string(20) "Negozio conveniente?"
    ["reports"]=&gt; object(stdClass)#5 (0) { }
} 
</code></pre>

<p>and then I want to do:</p>

<pre><code>var_dump($poll["parent"]["objectId"]);
</code></pre>

<p>but then it gives me a 500 internal server error. Any idea why this is?</p>

<p><strong>UPDATE:</strong>
Pulling from the error log it says:</p>

<blockquote>
  <p><strong>PHP Fatal error:  Cannot use object of type stdClass as array</strong></p>
</blockquote>
