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

Unable to load class "Symfony\Bundle\AsseticBundle\DefaultValueSupplier" #16367

Closed
kniziol opened this issue Oct 28, 2015 · 5 comments
Closed

Comments

@kniziol
Copy link

kniziol commented Oct 28, 2015

composer update, Symfony 2.8.x-dev

  1. I removed new Symfony\Bundle\AsseticBundle\AsseticBundle() because of error:
    PHP Fatal error: Class 'Symfony\Bundle\AsseticBundle\AsseticBundle' not found in .../app/AppKernel.php on line ...

  2. The next error shows up:
    Unable to load class "Symfony\Bundle\AsseticBundle\DefaultValueSupplier"

What should I do now?

@Tobion
Copy link
Contributor

Tobion commented Oct 28, 2015

Please ask support questions on stackoverflow. It looks like you might not have assetic bundle as a dependency in your composer.json.

@Tobion Tobion closed this as completed Oct 28, 2015
@kniziol
Copy link
Author

kniziol commented Oct 28, 2015

Yes, I haven't, because, as I wrote, I removed new Symfony\Bundle\AsseticBundle\AsseticBundle() because of error:
PHP Fatal error: Class 'Symfony\Bundle\AsseticBundle\AsseticBundle' not found in .../app/AppKernel.php on line ...

AsseticBundle was removed:
symfony/symfony-standard@2bee277

  1. What should I do now?
  2. Why AsseticBundle was removed?

@xabbuh
Copy link
Member

xabbuh commented Oct 28, 2015

@kniziol It just means that AsseticBundle isn't included by default in the Symfony Standard Edition but you are completely free to add it to your project.

@kniziol
Copy link
Author

kniziol commented Oct 28, 2015

@xabbuh Thanks, it's one of possible solutions. Is there any doc describing why AsseticBundle was removed?

@xabbuh
Copy link
Member

xabbuh commented Oct 28, 2015

@kniziol You can read the discussion in the related pull request: symfony/symfony-standard#860

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

3 participants