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

Unused argument error #24

Open
angonz opened this issue Jan 22, 2024 · 0 comments
Open

Unused argument error #24

angonz opened this issue Jan 22, 2024 · 0 comments

Comments

@angonz
Copy link

angonz commented Jan 22, 2024

Hi!
I'm installing the opencast bundle inside PuMuKIT 4.0 (docker deployment) and got the following error:

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In ResolveBindingsPass.php line 84:
!!                                                                                 
!!    A binding is configured for an argument named "$template" under "_defaults"  
!!     in file "/srv/pumukit/vendor/teltek/pumukit-opencast-bundle/DependencyInje  
!!    ction/../Resources/config/pumukit_opencast.yaml", but no corresponding argu  
!!    ment has been found. It may be unused and should be removed, or it may have  
!!     a typo.                                                                     
!!                                                                                 
!!  

If I comment the bind of $template in pumukit_opencast.yaml the error is gone:

$template: '%pumukit_notification.template%'

Maybe it's missing in one of the services?

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