Project

General

Profile

Actions

Bug #51420

closed

non static method getAvailableWorkspaces()

Added by Tomasz Krawczyk over 10 years ago. Updated over 5 years ago.

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.


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #61312: calling non static method staticallyClosed2014-09-02

Actions
Actions

Also available in: Atom PDF