Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Error while executing any kind of :info commands #120

Open
sascha-schieferdecker opened this issue Feb 15, 2016 · 1 comment
Open

Error while executing any kind of :info commands #120

sascha-schieferdecker opened this issue Feb 15, 2016 · 1 comment
Assignees

Comments

@sascha-schieferdecker
Copy link

`/typo3/cli_dispatch.phpsh extbase siteapi:info

PHP 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`

It's a TYPO3 6.2.17, latest version from TER of coreapi (1.3.0). Has anybody encountered this kind of error before?

This doesn't happen on the same server with TYPO3 7.6.2, seems 6.2 specific.

@etobi etobi self-assigned this Feb 22, 2016
@thomashohn
Copy link
Contributor

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.
Since 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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants