Till Krüss on "[Plugin: Redis Object Cache] ACF does not work for widgets"

ساخت وبلاگ

diegobastosdev
Member
Posted 1 day ago #

acf for widgets stopped working with the new update. The 1.2.3 version works correctly.

https://wordpress.org/plugins/redis-cache/

What are you connection settings?

diegobastosdev
Member
Posted 1 day ago #

Client: PECL Extension (v2.2.8-devphp7)
Protocol: TCP
Host: 127.0.0.1
Port: 6379
Database: 0

I'm using the easyengine.

Does it work when you use Predis?

define( 'WP_REDIS_CLIENT', 'predis' );

Eric Mathison
Member
Posted 9 hours ago #

I can answer this for diego if he doesn't get around it.

Predis works. It seems with this new update, especially on Nginx, all ACF fields are disabled. From what it looks like ACF can't read the DB / Redis cache properly. Disabling object cache or forcing Redis to use Predis does fix this issue.

What is the drawback with forcing Predis?

Predis is slower, especially under load.

When you're using PhpRedis caching works fine, except for ACF related things?

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 56 تاريخ : يکشنبه 12 ارديبهشت 1395 ساعت: 23:15