• Resolved Gabor Torda

    (@gabortorda)


    Hi,
    I am experiencing issues with Advanced Custom Fields and Redis Object Cache in my WooCommerce site. When Redis object cache is flushed, the product pages that rely on ACF taxonomy fields (used for filtering related posts) show 500 server error pages until I manually save a product with problem in the admin, which refreshes the cache. The problem only occurs for products where the ACF taxonomy field has been set previously. Products without this field do not have cache issues. I have a workaround that manually primes the cache for products with ACF fields, but it is not fully automated.
    How to solve this issue? Object cache pro would solve this issue out of the box? As I know it has cache priming function, might be similar what I am using right now with code snippets.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    A 500 error would mean there might be a full PHP error in your logs. Can you post those?

    Thread Starter Gabor Torda

    (@gabortorda)

    Hi @tillkruess , thank you for getting back to me.

    The error is the following:

    2025/09/08 13:02:33 [error] 2679051#2679051: *354957 FastCGI sent in stderr: “PHP message: PHP Fatal error: Allowed memory size of 734003200 bytes exhausted (tried to allocate 262144 bytes) in /var/www/mydomain.hu/htdocs/wp-includes/class-wp-query.php on line 3949PHP message: OKPHP message: PHP Fatal error: Allowed memory size of 734003200 bytes exhausted (tried to allocate 262144 bytes) in /var/www/mydomain.hu/htdocs/wp-includes/class-wp-locale-switcher.php on line 190” while reading response header from upstream, client: 80.98.249.129, server: mydomain.hu, request: “GET /product/kettle-charcoal-grill/ HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/php81-fpm-mydomain.hu.sock:”, host: “mydomain.hu”, referrer: “https://mydomain.hu/”

    Thread Starter Gabor Torda

    (@gabortorda)

    Just for the record, I could solve the problem with the local JSON feature in ACF.

    With this setting ACF does not consume that much php memory.

    Plugin Author Till Krüss

    (@tillkruess)

    Glad you got it resolved.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.