• Resolved pavelxk

    (@pavelxk)


    I have configured redis in wp-config as per your wiki. The WP_REDIS_DATABASE setting is not honored, database 0 is used for all instances and this resulted in very ugly collisions.
    I have worked around it by directly editing the database number in wp-content/object-cache.php

    The page I need help with: [log in to see the link]

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

    (@tillkruess)

    Don’t define the constant too late, put it at the top.

    Thread Starter pavelxk

    (@pavelxk)

    Thanks for the hint, obviously it must be defined before
    require_once(ABSPATH . 'wp-settings.php');
    that fixes what your plugin is showing in UI, but the recreated object-cache.php dropin file still has default value of “0” in effect.

    • This reply was modified 2 years, 3 months ago by pavelxk.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP_REDIS_DATABASE setting is not honored’ is closed to new replies.