Bug #38601

Non-static method tslib_cObj::getKey() should not be called statically

Added by Chris topher 11 months ago. Updated about 1 month ago.

Status:Resolved Start date:2012-07-03
Priority:Should have Due date:
Assignee:- % Done:

100%

Category:-
Target version:6.0.0-pre-beta1
TYPO3 Version:6.0 Complexity:
PHP Version:5.4
Votes: 0

Description

Opening a page in the FE gives

PHP Strict Standards: Non-static method tslib_cObj::getKey() should not be called statically, assuming $this from incompatible context in typo3\sysext\cms\tslib\class.tslib_menu.php on line 178

Same mistake in

typo3\sysext\cms\tslib\class.tslib_menu.php on line 605 and

typo3\sysext\cms\tslib\class.tslib_menu.php on line 606


Related issues

related to Core - Bug #38600: Non-static method tslib_cObj::calc() should not be called... Resolved 2012-07-03
related to Core - Bug #38602: Non-static method tslib_cObj::enableFields() should not b... Resolved 2012-07-03
duplicated by Core - Bug #44430: Strict Standards: Non-static method tslib_cObj::getKey() ... Resolved 2013-01-10

Associated revisions

Revision 83bd5a4c
Added by Wouter Wolters about 1 month ago

[BUGFIX] Fix Non-static method tslib_cObj::getKey()

Non-static method tslib_cObj::getKey() should
not be called statically

Change-Id: Ic5a8b54db751661a421385bcbccc264e01e958d3
Resolves: #38601
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16753
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer

Revision f5ddbf66
Added by Wouter Wolters about 1 month ago

[BUGFIX] Fix Non-static method tslib_cObj::getKey()

Non-static method tslib_cObj::getKey() should
not be called statically

Change-Id: Ic5a8b54db751661a421385bcbccc264e01e958d3
Resolves: #38601
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16753
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19868
Reviewed-by: Stefan Neufeind

History

Updated by Gerrit Code Review 6 months ago

  • Status changed from New to Under Review

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

Updated by Gerrit Code Review about 1 month ago

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

Updated by Gerrit Code Review about 1 month ago

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

Updated by Wouter Wolters about 1 month ago

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

Also available in: Atom PDF