<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Broken memcache dropin returns false for set value of []

[ad_1]

Replies: 1

Two years later, this is still broken, anything that evaluates to empty($value) is set as false. In our case it was an empty array. This is a bug that should be fixed.

object-cache.php line 245

if ( ( empty( $value ) && ! strpos( $key, ‘et_check_mod_pagespeed’ ) ) || ( is_integer( $value ) && -1 == $value ) ){
$value = false;

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer