home/beautybuzzbeyond/public_html/wp-content/object-cache.php000064400000004523147175222370020537 0ustar00 $method, 'result' => $result, 'backtrace' => debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS, 16 ), ] ); return in_array( $method, [ 'mget', 'exec' ] ) ? [] : false; } } catch ( Throwable $th ) { $report( [ 'error' => $th->getMessage(), 'type' => get_class( $th ), 'method' => $method, 'backtrace' => debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS, 16 ), ] ); } return $result ?? false; } (function ($config) { if (defined('WP_REDIS_CONFIG') || empty($config)) { return; } $config = json_decode((string) $config, true, 3); $error = json_last_error(); if ($error !== JSON_ERROR_NONE || ! is_array($config)) { error_log(sprintf( 'objectcache.warning: Unable to decode `OBJECTCACHE_CONFIG` environment variable (%s)', json_last_error_msg() )); } $config['tracer'] = 'gd_cache_wrapper'; if ( defined( 'MWP_OBJECT_CACHE_NON_PERSISTENT_GROUPS' ) && is_array( MWP_OBJECT_CACHE_NON_PERSISTENT_GROUPS ) ) { $config['non_persistent_groups'] = MWP_OBJECT_CACHE_NON_PERSISTENT_GROUPS; } define('WP_REDIS_CONFIG', $config); })(getenv('OBJECTCACHE_CONFIG')); include WP_CONTENT_DIR . '/mu-plugins/gd-system-plugin/object-cache/object-cache-pro.php';