Title: Setting memcached error
Last modified: November 10, 2023

---

# Setting memcached error

 *  [knguyen2011](https://wordpress.org/support/users/knguyen2011/)
 * (@knguyen2011)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/setting-memcached-error/)
 *     ```wp-block-code
       Fatal error: Uncaught Error: Redis::connect() expects parameter 2 to be int, string givenin /domain/public/wp-content/plugins/cache-master/vendor/shieldon/simple-cache/src/SimpleCache/Driver/Redis.php on line 87
   
       Call stack:
   
       Redis::connect()wp-content/plugins/cache-master/vendor/shieldon/simple-cache/src/SimpleCache/Driver/Redis.php:87Shieldon\S\D\Redis::connect()wp-content/plugins/cache-master/vendor/shieldon/simple-cache/src/SimpleCache/Driver/Redis.php:64Shieldon\S\D\Redis::__construct()wp-content/plugins/cache-master/vendor/shieldon/simple-cache/src/SimpleCache/Cache.php:53Shieldon\SimpleCache\Cache::__construct()wp-content/plugins/cache-master/inc/admin/functions.php:173scm_test_driver()wp-content/plugins/cache-master/inc/admin/views/option-advanced-cache-driver-redis.php:41include()wp-content/plugins/cache-master/inc/admin/functions.php:32scm_load_view()wp-content/plugins/cache-master/inc/admin/setting.php:206{closure}()wp-admin/includes/template.php:1824do_settings_fields()wp-admin/includes/template.php:1778do_settings_sections()wp-content/plugins/cache-master/inc/admin/views/page-settings-page.php:117include()wp-content/plugins/cache-master/inc/admin/functions.php:32scm_load_view()wp-content/plugins/cache-master/inc/admin/menu.php:81scm_options_page()wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()wp-includes/class-wp-hook.php:334WP_Hook::do_action()wp-includes/plugin.php:517do_action()wp-admin/admin.php:259
       ```
   
 * I set up memcached with information: 
   Host: 127.0.0.1Port: 11211Save and bing.
   It threw error.

The topic ‘Setting memcached error’ is closed to new replies.

 * ![](https://ps.w.org/cache-master/assets/icon-256x256.png?rev=2392499)
 * [Cache Master](https://wordpress.org/plugins/cache-master/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cache-master/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cache-master/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-master/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-master/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-master/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [knguyen2011](https://wordpress.org/support/users/knguyen2011/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/setting-memcached-error/)
 * Status: not resolved