Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symphony 4.4: DataCollector contains 1 abstract method and must therefore be declared abstract or implement the remaining methods #92

Open
vicman opened this issue May 24, 2021 · 0 comments

Comments

@vicman
Copy link

vicman commented May 24, 2021

composr install...

Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 255 !! !! Fatal error: Class CoreSphere\ConsoleBundle\DataCollector\DataCollector contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Contracts\Service\ResetInterface::reset) in vendor\coresphere\console-bundle\DataCollector\DataCollector.php on line 34 !! !! In DataCollector.php line 34: !! !! Error: Class CoreSphere\ConsoleBundle\DataCollector\DataCollector contains 1 abstract method and must therefore be !! declared abstract or implement the remaining methods (Symfony\Contracts\Service\ResetInterface::reset) !! !! !! Script @auto-scripts was called via post-update-cmd

I should have added this manually in the class DataCollector.php

public function reset() { return parent::reset(); }

@vicman vicman changed the title DataCollector contains 1 abstract method and must therefore be declared abstract or implement the remaining methods Symphony 4.4: DataCollector contains 1 abstract method and must therefore be declared abstract or implement the remaining methods May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant