PHP Strict Warning with v4.7 and MySQL5.4
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
This error was fixed for Typo3 V6 but not in the v4.7 branch.
Many Thanks Rene
#3 Updated by Christian Kuhn about 5 years ago
- Status changed from Under Review to Rejected
Thanks for your bug report, Rene. Unfortunately, this will not be solved in 4.7 anymore:
- I think we fixed that in younger versions already, and I also roughly remember some regression after we did it.
- This patch is not trivial to verify, and includes 3rd party callers: It is very well possible that some of the calling methods are currently called statically by itself. If those now call $this, you'll get a fatal.
- 4.7 is e-o-l since 10/2014, so it shouldn't even get security related patches anymore.
All in all, risk / benefit of this patch is not good enough to consider further reviews in the current state of 4.7 maintenance. The issues will be closed as "won't fix".