{"action":"opened","issue":{"url":"https://api.github.com/repos/fabarea/media/issues/70","labels_url":"https://api.github.com/repos/fabarea/media/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/fabarea/media/issues/70/comments","events_url":"https://api.github.com/repos/fabarea/media/issues/70/events","html_url":"https://github.com/fabarea/media/issues/70","id":104711950,"number":70,"title":"PHP Error after install","user":{"login":"digedag","id":965877,"avatar_url":"https://avatars.githubusercontent.com/u/965877?v=3","gravatar_id":"","url":"https://api.github.com/users/digedag","html_url":"https://github.com/digedag","followers_url":"https://api.github.com/users/digedag/followers","following_url":"https://api.github.com/users/digedag/following{/other_user}","gists_url":"https://api.github.com/users/digedag/gists{/gist_id}","starred_url":"https://api.github.com/users/digedag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digedag/subscriptions","organizations_url":"https://api.github.com/users/digedag/orgs","repos_url":"https://api.github.com/users/digedag/repos","events_url":"https://api.github.com/users/digedag/events{/privacy}","received_events_url":"https://api.github.com/users/digedag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-03T14:44:08Z","updated_at":"2015-09-03T14:44:08Z","closed_at":null,"body":"After extension install in TYPO3 6.2 I get the following error when I click on BE module Media:\r\n```\r\nFatal error: Cannot make non static method TYPO3\\CMS\\Core\\Type\\Enumeration::getConstants() static in class Fab\\Vidi\\Module\\ConfigurablePart in /path2t3/typo3conf/ext/vidi/Classes/Module/ConfigurablePart.php on line 50 \r\n```\r\n\r\nThis method in *Fab\\Vidi\\Module\\ConfigurablePart* is wrong:\r\n```php\r\n\tstatic public function getConstants($include_default = FALSE) {\r\n\r\n\t\t// Must be instantiated once to load the values.\r\n\t\tif (is_null(self::$instance)) {\r\n\t\t\tself::$instance = GeneralUtility::makeInstance('Fab\\Vidi\\Module\\ConfigurablePart');\r\n\t\t}\r\n\t\treturn parent::getConstants($include_default);\r\n\t}\r\n```\r\nThis is the signature of getConstants in *TYPO3\\CMS\\Core\\Type\\Enumeration*:\r\n```php\r\npublic function getConstants($include_default = FALSE)\r\n```\r\nIf you really need a static getContants() in ConfigurablePart, it should be renamed. After that it is possible to call *getContants()* on *self::$instance*.\r\n"}}