Invalid Offset '0' error
<p>i try to confider a php project it gives error like :</p>

<pre><code>[RInvalidCollectionOffsetException, 0] 
Invalid Offset '0' 
@line 362 in file /xxxxxxxx/public_html/lib/Classes/RCollection.php 

Debug Backtrace

#1 preferences.php:358 -- RCollection-&gt;offsetGet(...)
#2 config_language.php:40 -- Preferences-&gt;create_language_session(...)
#3 common.php:92 -- include(...)
#4 index.php:14 -- require_once(...)
</code></pre>

<p>code is :</p>

<pre><code>public function offsetGet($Offset)
    {
        if (isset($this-&gt;Data[$Offset])) {
            return $this-&gt;Data[$Offset];
        }
        else {
            throw new RInvalidCollectionOffsetException($Offset);
        }
    }
</code></pre>

<p>there are many function</p>
