• My plugin looks like this:

    Status: Not activated

    • Client:
    • Drop-in: Not installed
    • Disabled: No
    • PhpRedis: 6.0.1-dev
    • Relay: Not loaded
    • Predis: 2.1.2
    • Credis: Not loaded
    • PHP Version: 8.1.23
    • Plugin Version: 2.4.4
    • Redis Version: Unknown
    • Multisite: No
    • Metrics: Disabled
    • Metrics recorded: 0
    • Filesystem: Working
    • WP_CACHE_KEY_SALT: “yuppins.com”
    • WP_REDIS_PLUGIN_PATH: “/var/www/.com/public_html/wp-content/plugins/redis-cache”
    • Drop-ins: “advanced-cache.php v by “

    [root@-vm public_html]# redis-cli ping
    PONG
    [root@-vm public_html]# php –version
    PHP Warning: Module “igbinary” is already loaded in Unknown on line 0
    PHP Warning: Module “redis” is already loaded in Unknown on line 0
    PHP 8.1.23 (cli) (built: Aug 30 2023 08:23:26) (NTS gcc x86_64)
    Copyright (c) The PHP Group
    Zend Engine v4.1.23, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.23, Copyright (c), by Zend Technologies
    [root@-vm public_html]# cat /etc/redhat-release
    CentOS Linux release 7.9.2009 (Core)
    [root@-vm public_html]# redis-cli –scan –pattern ‘*’ | wc -l
    0
    [root@-vm public_html]# systemctl status redis
    ● redis.service – Redis persistent key-value database
    Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
    Drop-In: /etc/systemd/system/redis.service.d
    └─limit.conf
    Active: active (running) since Mon 2023-09-18 16:06:44 -03; 6h ago
    Main PID: 32304 (redis-server)
    Status: “Ready to accept connections”
    CGroup: /system.slice/redis.service
    └─32304 /usr/bin/redis-server 127.0.0.1:6379

    Sep 18 16:06:44 -vm systemd[1]: Starting Redis persistent key-value database…
    Sep 18 16:06:44 -vm systemd[1]: Started Redis persistent key-value database.
    Try `iptables -h’ or ‘iptables –help’ for more information.
    [root@-vm public_html]# iptables -L -n | grep 6379
    ACCEPT tcp — 0.0.0.0/0 0.0.0.0/0 tcp dpt:6379

    [root@-vm public_html]# grep -ri “redis” /var/log/nginx/.com.net-error.log
    2023/09/18 21:39:57 [error] 9187#9187: *1627 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined property: stdClass::$icons in /var/www/.com/public_html/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Admin/Updates.php on line 137” while reading response header from upstream, client: 172.68.18.139, server: .com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “.com”, referrer: “https://.com/wp-admin/plugin-install.php?s=redis&tab=search&type=term”
    2023/09/18 21:40:19 [error] 9186#9186: *1640 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined property: stdClass::$icons in /var/www/.com/public_html/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Admin/Updates.php on line 137” while reading response header from upstream, client: 172.68.18.138, server: .com, request: “GET /wp-admin/plugins.php?_wpnonce=caf8b0bd86&action=activate&plugin=redis-cache/redis-cache.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “.com”, referrer: “https://.com/wp-admin/plugin-install.php?s=redis&tab=search&type=term”

    • This topic was modified 1 year, 6 months ago by thyagonet88.
    • This topic was modified 1 year, 6 months ago by thyagonet88.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    PHP Warning: Module “igbinary” is already loaded in Unknown on line 0
    PHP Warning: Module “redis” is already loaded in Unknown on line 0

    It looks like you’re loading the .so files twice. This will spam your logs aggressively.

    I’m not sure what you’re asking tho? Are you unable to click the “Enable Redis Cache” button?

    Where do you see on your logs the ‘Redis Object Inaccessible’ message? All I can see is an error on the all-in-one-seo-pack-pro plugin related to an undefined property in class stdClass (namely, $icons).

    Also, unless you have deliberately redacted the logs posted here, besides what @tillkruess already pointed out (you’re including the same .so modules more than once, which is a Bad Thing — who knows if PHP is actually loading the correct ones?), that referrer starting with https://.com is highly suspicious.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redis Object Inaccessible’ is closed to new replies.