Bug #3969

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

Added by Thomas Waggershauser about 13 years ago. Updated almost 12 years ago.

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


Estimated time:
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) {


Updated by Christian Müller about 13 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.


Updated by Steffen Kamper about 13 years ago

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


Updated by Jochen Rau about 13 years ago

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

Updated by Bastian Waidelich almost 13 years ago

  • Project changed from 534 to TYPO3.Fluid
  • Category deleted (432)

Also available in: Atom PDF