Hi Elemental, i didn't tried ro reproduce exactly your error, but i did this:
in the bootstrap directly (no in a fuction, but directly in the bootstrap) I setted an array:
PHP Code:
$testArray = array(
'1' => 0,
'2' => 2,
'3' => 4,
);
$registry->set('testArray', $testArray);
And then in an Action over controller I called that array on registry:
PHP Code:
$this->view->array = Zend_Registry::get('testArray');
And in the view of that action:
PHP Code:
print_r($this->array);
And that worked lovely, here is the output:
Code:
Array ( [1] => 0 [2] => 2 [3] => 4 )
Where do you use the setAction? where the getAction?
Cheers!