Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #24492


Ignore:
Timestamp:
06/05/2013 02:38:50 PM (13 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24492

    • Property Component Cache → General
    • Property Keywords has-patch removed
    • Property Milestone Awaiting Review
    • Property Resolution → invalid
    • Property Status new → closed
    • Property Version 3.5.1
  • Ticket #24492 – Description

    initial v3  
    11Memcached Memcached plugin version 2.0.2 gives the following error message:
    2 
     2{{{
    33Notice: Undefined offset: 1 in /var/www/html/wp-content/object-cache.php on line 374
    4 
     4}}}
    55This results from only having the server listed as the default without a port:
    6 
     6{{{
    77array(1) { [0]=> string(9) "127.0.0.1" }
    8 
     8}}}
    99There is no port listed to populate the port variable in line 374 resulting in the Undefined offset notice. Here is line 374:
    10 
     10{{{
    1111list ( $node, $port ) = explode(':', $server);
    12 
     12}}}
    1313The solution is modify line 365 from:
    14 
     14{{{
    1515$buckets = array('127.0.0.1');
    16 
     16}}}
    1717to:
    18 
     18{{{
    1919$buckets = array('127.0.0.1:11211');
    20 
     20}}}
    2121The WordPress forum for this plugin rarely gets a response, so I thought I'd also post it here since the authors are more likely to see it. Is this plugin on github?
    2222