Changes between Initial Version and Version 3 of Ticket #24492
- Timestamp:
- 06/05/2013 02:38:50 PM (13 years ago)
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 1 1 Memcached Memcached plugin version 2.0.2 gives the following error message: 2 2 {{{ 3 3 Notice: Undefined offset: 1 in /var/www/html/wp-content/object-cache.php on line 374 4 4 }}} 5 5 This results from only having the server listed as the default without a port: 6 6 {{{ 7 7 array(1) { [0]=> string(9) "127.0.0.1" } 8 8 }}} 9 9 There is no port listed to populate the port variable in line 374 resulting in the Undefined offset notice. Here is line 374: 10 10 {{{ 11 11 list ( $node, $port ) = explode(':', $server); 12 12 }}} 13 13 The solution is modify line 365 from: 14 14 {{{ 15 15 $buckets = array('127.0.0.1'); 16 16 }}} 17 17 to: 18 18 {{{ 19 19 $buckets = array('127.0.0.1:11211'); 20 20 }}} 21 21 The 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? 22 22
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)