Bug #44540

PHP Warning in 6.0.1-dev if there are empty columns in Page Module

Added by Roland Waldner over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2013-01-15
Priority:Must have Due date:
Assigned To:Roland Waldner % Done:

100%

Category:- Spent time: -
Target version:6.0.1
TYPO3 Version:6.0 Is Regression:
PHP Version:5.3 Sprint Focus:
Complexity:

Description

PHP Warining in Page Module on current TYPO3 6.0.1-dev, when there are content columns without any content element:

--- quote ---
PHP Warning
PHP Warning: Invalid argument supplied for foreach() in /srv/www/typo3/typo3_src-6.0.current.git/typo3/sysext/backend/Classes/View/PageLayoutView.php line 444
--- /quote ---


Related issues

duplicates Core - Bug #47529: Regression in 4.7.11rc1: Invalid argument supplied for fo... Resolved 2013-04-24

Associated revisions

Revision 218072a0
Added by Roland Waldner over 2 years ago

[BUGFIX] Avoid PHP Warning if there are empty columns in Page Module

Change-Id: I218065a3445211d88ce131ecf23da3a947eb2e70
Resolves: #44540
Branches: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17562
Reviewed-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer

Revision 4dc2bd90
Added by Roland Waldner over 2 years ago

[BUGFIX] Avoid PHP Warning in Page Module

Change-Id: I218065a3445211d88ce131ecf23da3a947eb2e70
Resolves: #44540
Branches: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17562
Reviewed-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/17712

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17547

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17547

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17547

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17562

#5 Updated by Roland Waldner over 2 years ago

i am not sure if the PHP "error_reporting" setting is relevant if the warning appears or not. in my case "error_reporting" is set to 22519.

#6 Updated by Marc Bastian Heinrichs over 2 years ago

confirmed

#7 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17712

#8 Updated by Anonymous over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#9 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17712

#10 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17712

#11 Updated by Anonymous over 2 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF