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

fallback must be a boolean #471

Closed
dv336699 opened this issue Jun 16, 2017 · 3 comments
Closed

fallback must be a boolean #471

dv336699 opened this issue Jun 16, 2017 · 3 comments

Comments

@dv336699
Copy link

Configuration:

PhpFastCache version: 6.0.1
PHP version: 5.6.30
Operating system: MacOS

Issue description:

I've tried to set files as fallback as described here but got the following

phpFastCache\Exceptions\phpFastCacheInvalidConfigurationException
'fallback must be a boolean' in /src/phpFastCache/CacheManager.php on line 470
CacheManager::setDefaultConfig([
  'fallback' => 'Files',
  'path' => './cache'
]);
@dv336699
Copy link
Author

Also described here.

@Geolim4
Copy link
Member

Geolim4 commented Jun 19, 2017

Thanks for the report, I'll take a look !

Geolim4 added a commit that referenced this issue Jun 21, 2017
 Fixed #471 // "Fallback must be a boolean" error
@Geolim4
Copy link
Member

Geolim4 commented Jun 21, 2017

This bug is now fixed, thanks for your report.
A dedicated test has been created to prevent any regression:
https://github.com/PHPSocialNetwork/phpfastcache/blob/final/tests/issues/Github-471.test.php

Cheers,
Georges

@Geolim4 Geolim4 self-assigned this Jun 21, 2017
@Geolim4 Geolim4 added this to the 6.0.2 milestone Jun 21, 2017
@Geolim4 Geolim4 added this to Done in V6 Roadmap Jun 21, 2017
@Geolim4 Geolim4 moved this from Done to Fixed in V6 Roadmap Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
V6 Roadmap
  
Done
Development

No branches or pull requests

2 participants