For those encountering this issue, I was using PHP 8 and encountered compatibility issues with one of the plugins. I switched back to PHP 7.4 but forgot to install the PHP 7.4 Redis module on Nginx. I was using the PHP 8.0 Redis module, which caused the error. I have now installed it and the problem has been resolved.
sudo apt-get install redis-server php7.4-redis -y
there is no control panel or something like that pure manual installation of all the server app and configration.
I forget to add my wp-config.php files for redis:
/* REDIS SITE CONF */
define( ‘WP_CACHE_KEY_SALT’, ‘mydomain.com’ );
define( ‘WP_CACHE’, true );
/* REDIS EXCLUDE GROUPS */
define(‘WP_REDIS_IGNORED_GROUPS’, [
“bp_notifications”,
“bp_pages”,
“wp_review_total”,
“wp-review”,
“mts_recent_reviews”,
“comment”,
“get_the_author_meta()”,
“wc_session_id”,
“bp_messages”,
“options”,
“WPML_TM_ICL_Translations::translations”,
]);
and my server is Ubuntu 20LTS
nginx 18
Mariadb10.3
Redis 7
php7.4