{"action":"created","issue":{"url":"https://api.github.com/repos/TYPO3-coreapi/ext-coreapi/issues/120","repository_url":"https://api.github.com/repos/TYPO3-coreapi/ext-coreapi","labels_url":"https://api.github.com/repos/TYPO3-coreapi/ext-coreapi/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/TYPO3-coreapi/ext-coreapi/issues/120/comments","events_url":"https://api.github.com/repos/TYPO3-coreapi/ext-coreapi/issues/120/events","html_url":"https://github.com/TYPO3-coreapi/ext-coreapi/issues/120","id":133768590,"number":120,"title":"Error while executing any kind of :info commands","user":{"login":"sascha-schieferdecker","id":8793359,"avatar_url":"https://avatars.githubusercontent.com/u/8793359?v=3","gravatar_id":"","url":"https://api.github.com/users/sascha-schieferdecker","html_url":"https://github.com/sascha-schieferdecker","followers_url":"https://api.github.com/users/sascha-schieferdecker/followers","following_url":"https://api.github.com/users/sascha-schieferdecker/following{/other_user}","gists_url":"https://api.github.com/users/sascha-schieferdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/sascha-schieferdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sascha-schieferdecker/subscriptions","organizations_url":"https://api.github.com/users/sascha-schieferdecker/orgs","repos_url":"https://api.github.com/users/sascha-schieferdecker/repos","events_url":"https://api.github.com/users/sascha-schieferdecker/events{/privacy}","received_events_url":"https://api.github.com/users/sascha-schieferdecker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"etobi","id":152207,"avatar_url":"https://avatars.githubusercontent.com/u/152207?v=3","gravatar_id":"","url":"https://api.github.com/users/etobi","html_url":"https://github.com/etobi","followers_url":"https://api.github.com/users/etobi/followers","following_url":"https://api.github.com/users/etobi/following{/other_user}","gists_url":"https://api.github.com/users/etobi/gists{/gist_id}","starred_url":"https://api.github.com/users/etobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etobi/subscriptions","organizations_url":"https://api.github.com/users/etobi/orgs","repos_url":"https://api.github.com/users/etobi/repos","events_url":"https://api.github.com/users/etobi/events{/privacy}","received_events_url":"https://api.github.com/users/etobi/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-15T17:09:43Z","updated_at":"2016-03-30T10:57:52Z","closed_at":null,"body":"`/typo3/cli_dispatch.phpsh extbase siteapi:info\r\n\r\nPHP Fatal error:  Call to a member function getMaximumLineLength() on a non-object in /var/www/xxx/site/typo3conf/ext/coreapi/Classes/Command/SiteApiCommandController.php on line 92`\r\n\r\nIt's a TYPO3 6.2.17, latest version from TER of coreapi (1.3.0). Has anybody encountered this kind of error before?\r\n\r\nThis doesn't happen on the same server with TYPO3 7.6.2, seems 6.2 specific."},"comment":{"url":"https://api.github.com/repos/TYPO3-coreapi/ext-coreapi/issues/comments/203378131","html_url":"https://github.com/TYPO3-coreapi/ext-coreapi/issues/120#issuecomment-203378131","issue_url":"https://api.github.com/repos/TYPO3-coreapi/ext-coreapi/issues/120","id":203378131,"user":{"login":"thomashohn","id":3414869,"avatar_url":"https://avatars.githubusercontent.com/u/3414869?v=3","gravatar_id":"","url":"https://api.github.com/users/thomashohn","html_url":"https://github.com/thomashohn","followers_url":"https://api.github.com/users/thomashohn/followers","following_url":"https://api.github.com/users/thomashohn/following{/other_user}","gists_url":"https://api.github.com/users/thomashohn/gists{/gist_id}","starred_url":"https://api.github.com/users/thomashohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomashohn/subscriptions","organizations_url":"https://api.github.com/users/thomashohn/orgs","repos_url":"https://api.github.com/users/thomashohn/repos","events_url":"https://api.github.com/users/thomashohn/events{/privacy}","received_events_url":"https://api.github.com/users/thomashohn/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T10:57:52Z","updated_at":"2016-03-30T10:57:52Z","body":"Hi - the problem seems to be that the call \"$this->output->getMaximumLineLength()\" only works in TYPO3 7.x - since it's part of the class TYPO3\\CMS\\Extbase\\Mvc\\Cli\\Output.\r\nSince the constant is included in the source code - why just that so that it works in 6.2.x and 7.x? The methos is called in ExtensionApiCommandController.php and SiteApiCommandController.php - I could provide a fi if desired?"}}