cannot use object of type stdClass as array when trying to modify a array
<p>I've just read a simple array from my db that was json_encoded, so i decoded it and tried to change a value at index 0, but i get the following error</p>

<p>cannot use object of type stdClass as array when trying to modify a array</p>

<p>any help?</p>
