• Resolved hardoman

    (@hardoman)


    I’v installed the plugin and configured wp-config to:

    define( 'WP_REDIS_HOST', '127.0.0.1' );
    define( 'WP_REDIS_PORT', 6379 );
    define( 'WP_REDIS_PREFIX', 'wp3' );
    define( 'WP_REDIS_DATABASE', 0 );
    define( 'WP_REDIS_PREFIX', '25105ecc*******' );

    I’m able to connect to redis host with redis-cli and given password.

    In the plugin I see it doesn’t detect the drop-in presence

    /I updated this part and removed diagnotics log showing false positive data/

    Indeed tehre is no object-cache.php in the wp-content folder obviously because it’s in the plgin folder itself (in the installation guide it wasn’t told I should have copied it myself – should I?).

    Ok, if I copy /wp-content/plugins/redis-cache/includes/object-cache.php to /wp-content/ I immediately get server error:

    Fatal error: Uncaught Error: Call to a member function get() on null in /www/wwwroot/wp3.hww.ru/wp-content/object-cache.php:193 Stack trace: #0 /www/wwwroot/wp3.hww.ru/wp-includes/option.php(71): wp_cache_get() #1 /www/wwwroot/wp3.hww.ru/wp-includes/l10n.php(64): get_option() #2 /www/wwwroot/wp3.hww.ru/wp-includes/l10n.php(100): get_locale() #3 /www/wwwroot/wp3.hww.ru/wp-includes/l10n.php(918): get_user_locale() #4 /www/wwwroot/wp3.hww.ru/wp-includes/l10n.php(880): _get_path_to_translation_from_lang_dir() #5 /www/wwwroot/wp3.hww.ru/wp-includes/l10n.php(850): _get_path_to_translation() #6 /www/wwwroot/wp3.hww.ru/wp-includes/l10n.php(948): _load_textdomain_just_in_time() #7 /www/wwwroot/wp3.hww.ru/wp-includes/l10n.php(122): get_translations_for_domain() #8 /www/wwwroot/wp3.hww.ru/wp-includes/l10n.php(202): translate() #9 /www/wwwroot/wp3.hww.ru/wp-content/object-cache.php(2917): __() #10 /www/wwwroot/wp3.hww.ru/wp-content/object-cache.php(2879): WP_Object_Cache->show_error_and_die() #11 /www/wwwroot/wp3.hww.ru/wp-content/ob in /www/wwwroot/wp3.hww.ru/wp-content/object-cache.php on line 193
    • This topic was modified 1 year, 3 months ago by hardoman.
    • This topic was modified 1 year, 3 months ago by hardoman.
    • This topic was modified 1 year, 3 months ago by hardoman.
    • This topic was modified 1 year, 3 months ago by hardoman.
Viewing 1 replies (of 1 total)
  • Thread Starter hardoman

    (@hardoman)

    OK, seems the issue was caused by a mixture of facts.
    First, if I copy object-cache.php to /wp-content/ it indeed triggers server error fatal error above. You should not do this despite other plugings require this. This one copies the file on enabling by itself.

    Secondly, I had WP Fastest cache enabled seems interfering with db cache by Redis and actually caching those server fatal errors not allowing proper enabling of the pluging, so it was not detecting the real drop-in state.

    • This reply was modified 1 year, 3 months ago by hardoman.
Viewing 1 replies (of 1 total)
  • The topic ‘Redis drop-in causes server error’ is closed to new replies.