Title: Undefined offset error in memcached-object-cache.php
Last modified: September 1, 2020

---

# Undefined offset error in memcached-object-cache.php

 *  Resolved [西門 正 Code Guy](https://wordpress.org/support/users/simongcc/)
 * (@simongcc)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-offset-error-in-memcached-object-cache-php/)
 * I have encountered the following error.
    Just report for investigation.
 * PHP 7.4.9
    WP 5.4.2 Memcached process/server 1.6.6
 * Undefined offset: 1
    wp-content/plugins/powered-cache/includes/dropins/memcached-
   object-cache.php:483
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-offset-error-in-memcached-object-cache-php/#post-13361263)
 * Hi [@simongcc](https://wordpress.org/support/users/simongcc/),
 * Can you define a global `$memcached_servers;` in your config file?
    Eg. ( $memcached_servers
   = array( ‘127.0.0.1:11211’ );
 * That notice can raise up when the port is not specified, however it shouldn’t
   output anything, you can just ignore it.
    -  This reply was modified 5 years, 9 months ago by [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/).

Viewing 1 replies (of 1 total)

The topic ‘Undefined offset error in memcached-object-cache.php’ is closed to new
replies.

 * ![](https://ps.w.org/powered-cache/assets/icon.svg?rev=2796939)
 * [Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score](https://wordpress.org/plugins/powered-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/powered-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/powered-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/powered-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/powered-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/powered-cache/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-offset-error-in-memcached-object-cache-php/#post-13361263)
 * Status: resolved