Jump to content

Edit History

zunxunz

zunxunz

On 7/2/2025 at 1:51 PM, Knowband Plugins said:

Override the class and change to the above line to below, if $this->memcached->getVersion() does not return anything, is not connected. 

$memcached_versions = $this->memcached->getVersion() ? $this->memcached->getVersion() : array();

$this->is_connected = in_array('255.255.255', $memcached_versions, true) === false;

 

This is a bug report, the issue should be addressed and fixed in the core code, not by implementing an override (which is discouraged by Prestashop) in my own shop.

zunxunz

zunxunz

This is a bug report, it should be fixed in the core

On 7/2/2025 at 1:51 PM, Knowband Plugins said:

Override the class and change to the above line to below, if $this->memcached->getVersion() does not return anything, is not connected. 

$memcached_versions = $this->memcached->getVersion() ? $this->memcached->getVersion() : array();

$this->is_connected = in_array('255.255.255', $memcached_versions, true) === false;

 

This is a bug report, the issue should be addressed and fixed in the core code, not by implementing an override (which is discouraged by Prestashop) in my own shop.

×
×
  • Create New...