You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When invoking Cache::many() with an array of keys where only a subset of the keys are hits, an exception is occurring because of an element count mismatch using array_combine.
ErrorException: array_combine(): Both parameters should have an equal number of elements #75 /vendor/laravel/framework/src/Illuminate/Cache/MemcachedStore.php(92): Illuminate\Foundation\Bootstrap\HandleExceptions::handleError #74internal: array_combine #73 /vendor/laravel/framework/src/Illuminate/Cache/MemcachedStore.php(92): Illuminate\Cache\MemcachedStore::many #72 /vendor/laravel/framework/src/Illuminate/Cache/Repository.php(125): Illuminate\Cache\Repository::many #71 /vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(396): Illuminate\Cache\CacheManager::__call #70 /vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\Support\Facades\Facade::__callStatic
Steps To Reproduce:
Use the Memcached store and invoke Cache::many with a set of keys where some are in the cache and some are not.
The text was updated successfully, but these errors were encountered:
I'll dig into it and try to get a better example, since it must be more specific than I thought. It's a real-world exception that I'm hitting though so I know it's there. 👍
Description:
When invoking Cache::many() with an array of keys where only a subset of the keys are hits, an exception is occurring because of an element count mismatch using array_combine.
ErrorException: array_combine(): Both parameters should have an equal number of elements
#75 /vendor/laravel/framework/src/Illuminate/Cache/MemcachedStore.php(92): Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
#74 internal: array_combine
#73 /vendor/laravel/framework/src/Illuminate/Cache/MemcachedStore.php(92): Illuminate\Cache\MemcachedStore::many
#72 /vendor/laravel/framework/src/Illuminate/Cache/Repository.php(125): Illuminate\Cache\Repository::many
#71 /vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(396): Illuminate\Cache\CacheManager::__call
#70 /vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\Support\Facades\Facade::__callStatic
Steps To Reproduce:
Use the Memcached store and invoke Cache::many with a set of keys where some are in the cache and some are not.
The text was updated successfully, but these errors were encountered: