Title: PHP Warning: Undefined array key 0 in memcached-object-cache.php
Last modified: May 29, 2023

---

# PHP Warning: Undefined array key 0 in memcached-object-cache.php

 *  Resolved [tigmewp](https://wordpress.org/support/users/tigmewp/)
 * (@tigmewp)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-0-in-memcached-object-cache-php/)
 * Dear Powered Cache Team
 * It’s me again 🙂
 * I found the following PHP warning on the Reviews tab of a site running WooCommerce.
   The warning is visible on versions PHP 8.0, PHP 8.1 and PHP 8.2:
 * > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 0 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
   > Warning: Undefined array key 1 in /usr/www/users/username/domain.co.za/wp-content/
   > plugins/powered-cache/includes/dropins/memcached-object-cache.php on line 472
 * Go to the link below to see a screenshot of the warning on the frontend of the
   site:
   [https://tinyurl.com/2grfug55](https://tinyurl.com/2grfug55)
 * In case you need it, here is the site info:
 * >     ```wp-block-code
   >     wp-core
   > 
   >     version: 6.2.2site_language: en_ZAuser_language: en_ZAtimezone: Africa/Johannesburgpermalink: /%postname%/https_status: truemultisite: falseuser_registration: 0blog_public: 1default_comment_status: undefinedenvironment_type: productionuser_count: 133dotorg_communication: true
   > 
   >     wp-paths-sizes
   > 
   >     wordpress_path: /usr/www/users/username/domain.co.zawordpress_size: 65.23 MB (68394780 bytes)uploads_path: /usr/www/users/username/domain.co.za/wp-content/uploadsuploads_size: 17.03 MB (17861654 bytes)themes_path: /usr/www/users/username/domain.co.za/wp-content/themesthemes_size: 6.78 MB (7110862 bytes)plugins_path: /usr/www/users/username/domain.co.za/wp-content/pluginsplugins_size: 99.17 MB (103984061 bytes)database_size: 28.81 MB (30212096 bytes)total_size: 217.02 MB (227563453 bytes)
   > 
   >     wp-dropins (2)
   > 
   >     advanced-cache.php: trueobject-cache.php: true
   > 
   >     wp-active-theme
   > 
   >     name:version: 1.0.0author: Tigmeauthor_website: https://tigme.com/parent_theme: Vantage (vantage)theme_features: core-block-patterns, post-thumbnails, automatic-feed-links, siteorigin-panels, menus, post-formats, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, custom-logo, title-tag, align-wide, infinite-scroll, siteorigin-template-settings, siteorigin-premium-no-attribution, siteorigin-premium-ajax-comments, siteorigin-premium-logo-booster, custom-background, widgets, editor-styletheme_path: /usr/www/users/username/domain.co.za/wp-content/themes/auto_update: Disabled
   > 
   >     wp-parent-theme
   > 
   >     name: Vantage (vantage)version: 1.20.11author: SiteOriginauthor_website: https://siteorigin.com/theme_path: /usr/www/users/username/domain.co.za/wp-content/themes/vantageauto_update: Disabled
   > 
   >     wp-themes-inactive (1)
   > 
   >     Twenty Twenty-Three: version: 1.1, author: the WordPress team, Auto-updates enabled
   > 
   >     wp-plugins-active (15)
   > 
   >     Classic Editor: version: 1.6.3, author: WordPress Contributors, Auto-updates disabledCookieYes | GDPR Cookie Consent: version: 3.0.9, author: CookieYes, Auto-updates disabledCustomer Reviews for WooCommerce: version: 5.27.2, author: CusRev, Auto-updates disabledCustom Product Tabs for WooCommerce: version: 1.8.2, author: YIKES, Inc., Auto-updates disabledMC4WP: Mailchimp for WordPress: version: 4.9.4, author: ibericode, Auto-updates disabledMeow Analytics: version: 1.2.0, author: Jordy Meow, Auto-updates disabledPage Builder by SiteOrigin: version: 2.23.0, author: SiteOrigin, Auto-updates disabledPopup Maker: version: 1.18.1, author: Popup Maker, Auto-updates disabledPowered Cache: version: 3.0.4, author: Powered Cache, Auto-updates disabledRedirection: version: 5.3.10, author: John Godley, Auto-updates disabledSiteOrigin Widgets Bundle: version: 1.50.0, author: SiteOrigin, Auto-updates disabledThe SEO Framework: version: 4.2.8, author: The SEO Framework Team, Auto-updates disabledWooCommerce: version: 7.7.0, author: Automattic, Auto-updates disabledWooCommerce Payfast Gateway: version: 1.5.3, author: WooCommerce, Auto-updates disabledWordfence Security: version: 7.9.2, author: Wordfence, Auto-updates disabled
   > 
   >     wp-media
   > 
   >     image_editor: WP_Image_Editor_Imagickimagick_module_version: 1690imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.orgimagick_version: 3.7.0file_uploads: File uploads is turned offpost_max_size: 32Mupload_max_filesize: 32Mmax_effective_size: 32 MBmax_file_uploads: 20imagick_limits:imagick::RESOURCETYPE_AREA: 122 MBimagick::RESOURCETYPE_DISK: 1073741824imagick::RESOURCETYPE_FILE: 3072imagick::RESOURCETYPE_MAP: 512 MBimagick::RESOURCETYPE_MEMORY: 256 MBimagick::RESOURCETYPE_THREAD: 1imagick::RESOURCETYPE_TIME: 1.844674407371E+19imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUVgd_version: 2.3.3gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPMghostscript_version: 9.27
   > 
   >     wp-server
   > 
   >     server_architecture: Linux 4.19.0-24-amd64 x86_64httpd_software: Apachephp_version: 8.1.18 64bitphp_sapi: fpm-fcgimax_input_variables: 3500time_limit: 90memory_limit: 256Mmax_input_time: 60upload_max_filesize: 32Mphp_post_max_size: 32Mcurl_version: 7.64.0 OpenSSL/1.1.1nsuhosin: falseimagick_availability: truepretty_permalinks: truehtaccess_extra_rules: true
   > 
   >     wp-database
   > 
   >     extension: mysqliserver_version: 10.4.29-MariaDB-1:10.4.29+maria~deb10client_version: mysqlnd 8.1.18max_allowed_packet: 16777216max_connections: 151
   > 
   >     wp-constants
   > 
   >     WP_HOME: undefinedWP_SITEURL: undefinedWP_CONTENT_DIR: /usr/www/users/username/domain.co.za/wp-contentWP_PLUGIN_DIR: /usr/www/users/username/domain.co.za/wp-content/pluginsWP_MEMORY_LIMIT: 40MWP_MAX_MEMORY_LIMIT: 256MWP_DEBUG: falseWP_DEBUG_DISPLAY: trueWP_DEBUG_LOG: falseSCRIPT_DEBUG: falseWP_CACHE: trueCONCATENATE_SCRIPTS: undefinedCOMPRESS_SCRIPTS: undefinedCOMPRESS_CSS: undefinedWP_ENVIRONMENT_TYPE: UndefinedDB_CHARSET: utf8mb4DB_COLLATE: undefined
   > 
   >     wp-filesystem
   > 
   >     wordpress: writablewp-content: writableuploads: writableplugins: writablethemes: writable`
   >     ```
   > 
 * Kind regards.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-0-in-memcached-object-cache-php/#post-16776349)
 * Hi [@tigmewp](https://wordpress.org/support/users/tigmewp/)
 * Thanks for reporting. I will look into the problem.
   [https://github.com/poweredcache/powered-cache/issues/116](https://github.com/poweredcache/powered-cache/issues/116)
 *  Thread Starter [tigmewp](https://wordpress.org/support/users/tigmewp/)
 * (@tigmewp)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-0-in-memcached-object-cache-php/#post-16776419)
 * Hello [@m_uysl](https://wordpress.org/support/users/m_uysl/)
 * It’s a pleasure, and no rush. I have disabled display_errors on the domain so
   the warnings are not visible on the frontend.
   Kind regards.
 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-0-in-memcached-object-cache-php/#post-16780511)
 * Hi [@tigmewp](https://wordpress.org/support/users/tigmewp/)
 * Version 3.0.5 has been released and it addresses this issue. Could you kindly
   update your site with this version and verify if the problem has been resolved?
 *  Thread Starter [tigmewp](https://wordpress.org/support/users/tigmewp/)
 * (@tigmewp)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-0-in-memcached-object-cache-php/#post-16781723)
 * Hello [@m_uysl](https://wordpress.org/support/users/m_uysl/)
 * Thank you for the latest update. The issue has been resolved and the Site Health
   is one big smiley.
 * You and your team are really doing a great job and thank you for – according 
   to me – one of the best caching plugins out there.
 * Kind regards.
 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-0-in-memcached-object-cache-php/#post-16781857)
 * Hi [@tigmewp](https://wordpress.org/support/users/tigmewp/)
 * We deeply appreciate your kind words. Feedback like yours keeps us motivated 
   and committed to delivering high-quality performance with our caching plugin 
   🙂
 * Thanks again for confirming that the fix worked for you. We’re here if you need
   any further assistance or support.
   Cheers,
 *  Thread Starter [tigmewp](https://wordpress.org/support/users/tigmewp/)
 * (@tigmewp)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-0-in-memcached-object-cache-php/#post-16782382)
 * Hello [@m_uysl](https://wordpress.org/support/users/m_uysl/)
 * It’s a pleasure. You deserve it.
 * Kind regards.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP Warning: Undefined array key 0 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [tigmewp](https://wordpress.org/support/users/tigmewp/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-0-in-memcached-object-cache-php/#post-16782382)
 * Status: resolved