Skip to content

typo3f-3.0 setup is broken #67

Description

@seyfer

I got this error on first run bash setup.sh with php7

> TYPO3\Flow\Composer\InstallerScripts::postPackageUpdateAndInstall
Generating optimized autoload files
Deprecation Notice: The callback TYPO3\Flow\Composer\InstallerScripts::postUpdateAndInstall declared at /home/seyfer/www/php-framework-benchmark/typo3f-3.0/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Composer/InstallerScripts.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:289
> TYPO3\Flow\Composer\InstallerScripts::postUpdateAndInstall
PHP Fatal error:  Uncaught TypeError: Argument 1 passed to TYPO3\Flow\Error\AbstractExceptionHandler::handleException() must be an instance of Exception, instance of TypeError given in /home/seyfer/www/php-framework-benchmark/typo3f-3.0/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Error/AbstractExceptionHandler.php:78
Stack trace:
#0 [internal function]: TYPO3\Flow\Error\AbstractExceptionHandler->handleException(Object(TypeError))
#1 {main}
  thrown in /home/seyfer/www/php-framework-benchmark/typo3f-3.0/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Error/AbstractExceptionHandler.php on line 78
Execution of subprocess failed with exit code 255 without any further output.
(Please check your PHP error log for possible Fatal errors)

  Type: TYPO3\Flow\Core\Booting\Exception\SubProcessException
  Code: 1355480641
  File: Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Scripts.php
  Line: 528

Open Data/Logs/Exceptions/20161206152544f24afe.txt for a full stack trace.

And this error with php5.6

***** typo3f-3.0 *****
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Deprecation Notice: The callback TYPO3\Flow\Composer\InstallerScripts::postUpdateAndInstall declared at /home/seyfer/www/php-framework-benchmark/typo3f-3.0/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Composer/InstallerScripts.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:289
> TYPO3\Flow\Composer\InstallerScripts::postUpdateAndInstall
ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterator, '' given

  Type: InvalidArgumentException
  File: Data/Temporary/Production/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Con
        troller_Arguments.php
  Line: 293

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions