Open levelzero-magento opened 1 week ago
To make it work, I have replaced the following lines for now on Magento 2.4.5-p8:
row 61 - 'Max. Clients' => isset($redisInfo['maxclients']) ? $redisInfo['maxclients'] : 'N/A', row 63 - 'Cluster Connections' => isset($redisInfo['cluster_connections']) ? $redisInfo['cluster_connections'] : 'N/A', row 72 - 'Total Error Replies' => isset($redisInfo['total_error_replies']) ? $redisInfo['total_error_replies'] : 'N/A', row 94 - 'Total Error Replies' => isset($redisInfo['total_error_replies']) ? $redisInfo['total_error_replies'] : 'N/A',
For example, in my case, I don't have a cluster configuration in Redis
1 exception(s): Exception #0 (Exception): Warning: Undefined array key "maxclients" in /var/www/magento/vendor/element119/module-admin-redis-report/Model/RedisInfo.php on line 61
Exception #0 (Exception): Warning: Undefined array key "maxclients" in /var/www/magento/vendor/element119/module-admin-redis-report/Model/RedisInfo.php on line 61
I have checked, and the "maxclients" value is defined in my Redis configuration.