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

Update dependencies #149

Closed
wants to merge 1 commit into from
Closed

Update dependencies #149

wants to merge 1 commit into from

Conversation

tvdijen
Copy link
Contributor

@tvdijen tvdijen commented May 27, 2018

Fix error+warning on PHP7.2; I couldn't get composer to run without these changes.

Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /apps/programs/StepUp-SelfService/Stepup-SelfService-2.9.0/vendor/symfony/monolog-bundle/DependencyInjection/Configuration.php on line 628

PHP message: PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "Twig_Function_Node" from namespace "Twig".\nDid you forget a "use" statement for another namespace? in /apps/programs/StepUp-SelfService/Stepup-SelfService-2.9.0/vendor/mopa/bootstrap-bundle/Mopa/Bundle/BootstrapBundle/Twig/FormExtension.php:32

@tvdijen
Copy link
Contributor Author

tvdijen commented May 27, 2018

Nope, this breaks the GUI and it's not gonna be an easy fix....
I've fixed this for myself by adding...

"config": {
    "platform": {
        "php": "5.6"
    }
}

...to the composer.json file.

@tvdijen tvdijen closed this May 27, 2018
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

Successfully merging this pull request may close these issues.

1 participant