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

Attempted to load class "AutomationViewBuilder" from namespace "Sulu\Bundle\AutomationBundle\Admin\View". Did you forget a "use" statement for another namespace? #66

Closed
alexander-schranz opened this issue May 25, 2022 · 1 comment
Labels

Comments

@alexander-schranz
Copy link
Member

alexander-schranz commented May 25, 2022

Q A
Bug? yes
New Feature? no
Bundle Version -
Sulu Version 2.2.x

Actual Behavior

Attempted to load class "AutomationViewBuilder" from namespace "Sulu\Bundle\AutomationBundle\Admin\View".
Did you forget a "use" statement for another namespace?

Expected Behavior

Don't get an error

Steps to Reproduce

Install automation Bundle.

Possible Solutions

This issue was just created as a reference so it is better found by people running into the same issue if you get:

Attempted to load class "AutomationViewBuilder" from namespace "Sulu\Bundle\AutomationBundle\Admin\View".
Did you forget a "use" statement for another namespace?

It is a hint that you are using a early version of the sulu/article-bundle. Make sure you are upading the sulu/article-bundle atleast to version 2.3.1 to be compatible with the ^2.0 release of sulu/automation-bundle. Check also your other outdated sulu dependencies via composer outdated | grep sulu and update them to the latest version where possible.

composer require sulu/article-bundle:^2.3.1

If you have custom code depending of the early version of the automation bundle see: https://github.com/sulu/SuluAutomationBundle/blob/2.0.0/UPGRADE.md

@alexander-schranz
Copy link
Member Author

alexander-schranz commented May 25, 2022

This issue was just created as a reference so it is better found by people running into the same issue if you get:

Attempted to load class "AutomationViewBuilder" from namespace "Sulu\Bundle\AutomationBundle\Admin\View". Did you forget a "use" statement for another namespace?

It is a hint that you are using a early version of the sulu/article-bundle. Make sure you are upading the sulu/article-bundle atleast to version 2.3.1 to be compatible with the ^2.0 release of sulu/automation-bundle. Check also your other outdated sulu dependencies via composer outdated | grep sulu and update them to the latest version where possible.

composer require sulu/article-bundle:^2.3.1

If you have custom code depending of the early version of the automation bundle see: https://github.com/sulu/SuluAutomationBundle/blob/2.0.0/UPGRADE.md

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

No branches or pull requests

1 participant