Support » Plugin: Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score » PHP Warning: Undefined array key 0 in memcached-object-cache.php

  • Resolved tigmewp

    (@tigmewp)


    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

    In case you need it, here is the site info:

    wp-core
    
    version: 6.2.2
    site_language: en_ZA
    user_language: en_ZA
    timezone: Africa/Johannesburg
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 133
    dotorg_communication: true wp-paths-sizes wordpress_path: /usr/www/users/username/domain.co.za
    wordpress_size: 65.23 MB (68394780 bytes)
    uploads_path: /usr/www/users/username/domain.co.za/wp-content/uploads
    uploads_size: 17.03 MB (17861654 bytes)
    themes_path: /usr/www/users/username/domain.co.za/wp-content/themes
    themes_size: 6.78 MB (7110862 bytes)
    plugins_path: /usr/www/users/username/domain.co.za/wp-content/plugins
    plugins_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: true
    object-cache.php: true wp-active-theme name:
    version: 1.0.0
    author: Tigme
    author_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-style
    theme_path: /usr/www/users/username/domain.co.za/wp-content/themes/
    auto_update: Disabled wp-parent-theme name: Vantage (vantage)
    version: 1.20.11
    author: SiteOrigin
    author_website: https://siteorigin.com/
    theme_path: /usr/www/users/username/domain.co.za/wp-content/themes/vantage
    auto_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 disabled
    CookieYes | GDPR Cookie Consent: version: 3.0.9, author: CookieYes, Auto-updates disabled
    Customer Reviews for WooCommerce: version: 5.27.2, author: CusRev, Auto-updates disabled
    Custom Product Tabs for WooCommerce: version: 1.8.2, author: YIKES, Inc., Auto-updates disabled
    MC4WP: Mailchimp for WordPress: version: 4.9.4, author: ibericode, Auto-updates disabled
    Meow Analytics: version: 1.2.0, author: Jordy Meow, Auto-updates disabled
    Page Builder by SiteOrigin: version: 2.23.0, author: SiteOrigin, Auto-updates disabled
    Popup Maker: version: 1.18.1, author: Popup Maker, Auto-updates disabled
    Powered Cache: version: 3.0.4, author: Powered Cache, Auto-updates disabled
    Redirection: version: 5.3.10, author: John Godley, Auto-updates disabled
    SiteOrigin Widgets Bundle: version: 1.50.0, author: SiteOrigin, Auto-updates disabled
    The SEO Framework: version: 4.2.8, author: The SEO Framework Team, Auto-updates disabled
    WooCommerce: version: 7.7.0, author: Automattic, Auto-updates disabled
    WooCommerce Payfast Gateway: version: 1.5.3, author: WooCommerce, Auto-updates disabled
    Wordfence Security: version: 7.9.2, author: Wordfence, Auto-updates disabled wp-media image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: File uploads is turned off
    post_max_size: 32M
    upload_max_filesize: 32M
    max_effective_size: 32 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 3072
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 1.844674407371E+19
    imagemagick_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, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
    ghostscript_version: 9.27 wp-server server_architecture: Linux 4.19.0-24-amd64 x86_64
    httpd_software: Apache
    php_version: 8.1.18 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 3500
    time_limit: 90
    memory_limit: 256M
    max_input_time: 60
    upload_max_filesize: 32M
    php_post_max_size: 32M
    curl_version: 7.64.0 OpenSSL/1.1.1n
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true wp-database extension: mysqli
    server_version: 10.4.29-MariaDB-1:10.4.29+maria~deb10
    client_version: mysqlnd 8.1.18
    max_allowed_packet: 16777216
    max_connections: 151 wp-constants WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /usr/www/users/username/domain.co.za/wp-content
    WP_PLUGIN_DIR: /usr/www/users/username/domain.co.za/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable`

    Kind regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mustafa Uysal

    (@m_uysl)

    Hi @tigmewp

    Thanks for reporting. I will look into the problem.

    https://github.com/poweredcache/powered-cache/issues/116

    Thread Starter tigmewp

    (@tigmewp)

    Hello @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

    (@m_uysl)

    Hi @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

    (@tigmewp)

    Hello @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

    (@m_uysl)

    Hi @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

    (@tigmewp)

    Hello @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.