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

PHP Fatal error: Interface 'Assetic\Factory\Worker\WorkerInterface' not found. #901

Open
jarrettj opened this issue Jun 30, 2021 · 1 comment

Comments

@jarrettj
Copy link

Hey,

Good day.

Seems kriswallsmith assetic has been replaced by assetic-php. I have a custom LastModifiedStrategy which worked fine but now throws the error:

PHP Fatal error:  Interface 'Assetic\Factory\Worker\WorkerInterface' not found...

If I replace the Assetic\Factory\Worker\WorkerInterface with Assetic\Contracts\Factory\Worker\WorkerInterface instead, the new error is:

Argument 1 passed to AsseticBundle\Service::setCacheBusterStrategy() must be an instance of Assetic\Factory\Worker\WorkerInterface

Been trying to revert my composer file to a previous version, but can't seem to get kriswallsmith version installed again.

Any assistance would be much appreciated, thanks.

Regards.
Jarrett

@LukeTowers
Copy link

@jarrettj report the issue to assetic-php/assetic instead please.

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

2 participants