-
Notifications
You must be signed in to change notification settings - Fork 821
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
Call to undefined method CachedConfigCollection::setPool() #6737
Comments
Does the error still occur with framework 4.0.x-dev? |
Sorry @phptek we broke the API after alpha5. alpha7 changed the api to use psr-16 cache api. You can fix this by adding this to your root composer.
I'll change the release behaviour to fix to tags "as-release" instead of allowing loose version comparison, at least until 4.0.0 stable is out. |
Fix at silverstripe/silverstripe-installer#162 Unfortunately it won't retroactively fix alpha5 release, but at least alpha6 will be functional. |
PHP 5.6.3 / framework 4.0.0-alpha5 installed via composer and silverstripe/installer 4.0.0-alpha5.
4.0.0-alpha5 requires "silverstripe/config" ^1.0.0@alpha which gets us 1.0.0-alpha7. Neither of 1.0.0-alpha7 or dev-master contains the
setPool()
method inCachedConfigCollection
. The last sighting ofsetPool()
was in 1.0.0-alpha6 and as such framework:4.0.0-alpha5 fails to dev/build with a non-existent cache-dir. (rm -rf /tmp/silverstripe-cache*) beforehand.The text was updated successfully, but these errors were encountered: