Skip to content

$driverName to be a string got "boolean" #456

@nikmauro

Description

@nikmauro

###Configuration:

PhpFastCache version: dev-final
PHP version: 7.1
Operating system: centos 6

####Issue description:

$this->cache = CacheManager::getInstance('predis');

Fatal error: Uncaught phpFastCache\Exceptions\phpFastCacheInvalidArgumentException: Expected $driverName to be a string got "boolean" instead in /vendor/phpfastcache/phpfastcache/src/phpFastCache/CacheManager.php:379 Stack trace: #0 /vendor/phpfastcache/phpfastcache/src/phpFastCache/CacheManager.php(200): phpFastCache\CacheManager::standardizeDriverName(false) #1 //vendor/phpfastcache/phpfastcache/src/phpFastCache/CacheManager.php(258): phpFastCache\CacheManager::getInstance('Apc', Array) #2 //vendor/phpfastcache/phpfastcache/src/phpFastCache/CacheManager.php(186): phpFastCache\CacheManager::getAutoClass(Array) #3 /library/cache.php(106): phpFastCache\CacheManager::getInstance() #4 /library/cache.php(12): cms39_cache->__construct() #5 /home/domainpn/public_html/pc- in /vendor/phpfastcache/phpfastcache/src/phpFastCache/CacheManager.php on line 379

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions