Actions
Bug #51420
closednon static method getAvailableWorkspaces()
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2013-08-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
I had such an error message in TYPO3 6.1.3
PHP Runtime Notice: Non-static method TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService::getAvailableWorkspaces() should not be called statically, assuming $this from incompatible context in D:\\wamp\\www\\typo3_src-6.1.3\\typo3\\sysext\\workspaces\\Classes\\ExtDirect\\WorkspaceSelectorToolbarItem.php line 78
When I made this method static in \typo3\sysext\workspaces\Classes\Service\WorkspaceService.php then message disappears.
Actions