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
Today during the tests of the "cache" library I came across an error (in Memcached driver):
TypeError
Argument 1 passed to CodeIgniter\Cache\Handlers\MemcachedHandler::__construct() must be of the type array, object given, called in (...)/system/Cache/CacheFactory.php on line 80
Configuration of my server:
PHP 7.2.9;
memcached 3.0.4
This is my temporary solution (system/Cache/Handlers/MemcachedHandler.php):
Edit function "__construct" and remove declarations "array" in function argument, next before:
$this->prefix = $config['prefix'] ?? '';
add:
$config = (array)$config;
The text was updated successfully, but these errors were encountered:
jim-parry
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Oct 19, 2018
ytetsuro
added a commit
to ytetsuro/CodeIgniter4
that referenced
this issue
Oct 29, 2018
Today during the tests of the "cache" library I came across an error (in Memcached driver):
Configuration of my server:
This is my temporary solution (system/Cache/Handlers/MemcachedHandler.php):
Edit function "__construct" and remove declarations "array" in function argument, next before:
add:
The text was updated successfully, but these errors were encountered: