Bug #3969

"Fatal error: Objects used as arrays.." with PHP 5.2.0

Added by Thomas Waggershauser over 11 years ago. Updated about 10 years ago.

Won't have this time
Target version:
Start date:
Due date:
% Done:


Has patch:


I spend some time now, to understand this error:

Fatal error: Objects used as arrays in post/pre increment/decrement
must return values by reference in /Users/air/Sites/
SelectViewHelper.php on line 148

It seems to be a php-problem, but I don't really understand, what this
has to do with references :(

This issue occured using php 5.2.0, after update to 5.2.9, it worked.


This is not supposed to be like this, cause TYPO3 only requires 5.2.0 IIRC.

It's something that can be fixed quite easily, e.g. from
foreach ($this->arguments['options'] as $domainObject) {


$options = $this->arguments['options']
foreach ($options as $domainObject) {


#1 Updated by Christian Müller over 11 years ago

As far as I know this was actually a problem in some PHP releases, so an PHP update fixing this bug seems OK to me. I would not like to make workaround code for a PHP bug.

#2 Updated by Steffen Kamper about 11 years ago

We considered in TYPO3 core not to make workarounds for PHP Bugs - these will be fixed in later releases anyway

#3 Updated by Jochen Rau about 11 years ago

  • Status changed from New to Closed
  • Assignee set to Jochen Rau
  • Priority changed from Should have to Won't have this time

#4 Updated by Bastian Waidelich about 11 years ago

  • Project changed from Extbase MVC Framework to TYPO3.Fluid
  • Category deleted (432)

Also available in: Atom PDF