Status: Connected
Client: PhpRedis (v6.0.2)
Drop-in: Valid
Disabled: No
Ping: 1
Errors: []
PhpRedis: 6.0.2
Relay: Not loaded
Predis: 2.1.2
Credis: Not loaded
PHP Version: 8.3.9
Plugin Version: 2.5.3
Redis Version: 7.2.5
Multisite: No
Metrics: Enabled
Metrics recorded: 217
Filesystem: File modifications are not allowed.
Global Prefix: "wp_"
Blog Prefix: "wp_"
Timeout: 1
Read Timeout: 1
Retry Interval:
WP_REDIS_HOST: "redis"
WP_REDIS_PORT: "6379"
WP_REDIS_PLUGIN_PATH: "/var/www/html/<bedrock-folder>/public/wp-content/plugins/redis-cache"
Global Groups: [
"blog-details",
"blog-id-cache",
"blog-lookup",
"global-posts",
"networks",
"rss",
"sites",
"site-details",
"site-lookup",
"site-options",
"site-transient",
"users",
"useremail",
"userlogins",
"usermeta",
"user_meta",
"userslugs",
"redis-cache",
"blog_meta",
"network-queries",
"site-queries",
"theme_files",
"translation_files",
"user-queries"
]
Ignored Groups: [
"counts",
"plugins",
"theme_json",
"themes"
]
Unflushable Groups: []
Groups Types: {
"blog-details": "global",
"blog-id-cache": "global",
"blog-lookup": "global",
"global-posts": "global",
"networks": "global",
"rss": "global",
"sites": "global",
"site-details": "global",
"site-lookup": "global",
"site-options": "global",
"site-transient": "global",
"users": "global",
"useremail": "global",
"userlogins": "global",
"usermeta": "global",
"user_meta": "global",
"userslugs": "global",
"redis-cache": "global",
"blog_meta": "global",
"network-queries": "global",
"site-queries": "global",
"theme_files": "global",
"translation_files": "global",
"user-queries": "global",
"counts": "ignored",
"plugins": "ignored",
"theme_json": "ignored",
"themes": "ignored"
}
Drop-ins: [
"advanced-cache.php v by ",
"install.php v by ",
"Redis Object Cache Drop-In v2.5.3 by Till Krüss"
]
Also our file permissions are 777 atm.
]]>Just testing Redis plugin on my staging site which is roots/bedrock, WordPress, Woocommerce.
There is a bit of custom functionality which isn’t working correctly, basically when a customer is being asked to select a garage for their fitting. It’s offering no options, when I disable the Redis plugin it works fine, so I know it’s this which is causing the issue.
How would I go about debugging this? I don’t have a Redis server on my Mac which I use to dev on.
I’ve got a garages mysql table which I use for these searches, could I exclude this from being cached by Redis just to test whether this is the issue?
Many thanks
]]>Thanks for a fab plugin, wonder if you could advise on particular issue with our setup?
We use roots/bedrock and roots/sage as our starter theme on our Woocommerce/Wordpress site. By default, Bedrock has a config/application.php
file and in there a setting of:
// Disable plugin and theme updates and installation from the admin
//Config::define('DISALLOW_FILE_MODS', true);
This basically disables the ability to update WordPress and it’s plugins from Admin, which is very useful!
The problem however with this is that with this setting true
above, when trying to enable the Redis Object Cache plugin, it says the Filesystem is not writeable.
Is there any way around this while still keeping the restriction of not allowing admins to perform updates? FYI I have tried settingWP_REDIS_DISABLE_DROPIN_CHECK
but that didn’t work.
Many thanks
Kevin
https://www.example.com/wp
This makes the logic fail towards the end of the plugin file.
I think the safe fix is to use get_home_url()
instead of get_site_url()
. Or perhaps you look for the defined constant WP_HOME
which is what Bedrock uses to define the website home. If that’s defined, then use that in the logic to check if we have the has URL.
What do you think? Can you change this?
]]>protected function connect_to_db() {
$root_dir = __DIR__ . '/../../../../../';
$dotenv = new Dotenv\Dotenv($root_dir);
if (file_exists($root_dir . '/.env')) {
$dotenv->load();
$dotenv->required(['DB_NAME', 'DB_USER', 'DB_PASSWORD', 'WP_HOME', 'WP_SITEURL']);
} else {
return false;
}
$credentials = array(
'db_name' => getenv('DB_NAME'),
'db_user' => getenv('DB_USER'),
'db_password' => getenv('DB_PASSWORD'),
'db_host' => getenv('DB_HOST'),
);
$this->connection = mysqli_connect($credentials['db_host'], $credentials['db_user'], $credentials['db_password'], $credentials['db_name']);
// Check connection
if (mysqli_connect_errno()) {
// Failed to connect to MySQL.
return false;
}
mysqli_set_charset($this->connection, 'utf8mb4');
if ($dbPrefix = getenv('DB_PREFIX')) {
$this->table_prefix = $dbPrefix;
} else {
$this->table_prefix = $this->sql_find_table_prefix();
if ($this->table_prefix === false) {
return false;
}
}
return true;
}
This works, but it’s obviously not a clean nor ideal solution.
Is there any future support planned for environment files?
Thanks in advance.
Is user profile picture compatible with Bedrock in wordpress?
Best Regards,
Joyce
]]>I’d like to ask is Quad Menu compatible with Bedrock? The following is the reference for the Bedrock structure?https://roots.io/bedrock/?please advise me for this. Thanks
Best regards,
NIki
]]>I’d like to ask if this plugin is compatible with Bedrock structure.
The following is the reference for the Bedrock structure https://roots.io/bedrock/ please advise me for this. Thanks
best regards,
Niki
]]>I’d like to ask is WP2Social Auto Publish compatible with Bedrock structure? Please advise, thank you.
Best regards,
Niki