Today, my website got error http error 500. But only the front page.
I still can login to the Dashboard, after clear the Fastcgi cache the site back to normal
here is the few lines of log
2020/12/04 00:40:03 [error] 49527#49527: *64579 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of WCS_Query::get_endpoint_title($endpoint) should be compatible with WC_Query::get_endpoint_title($endpoint, $action = '') in /var/www/yourwpdomain.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-query.php on line 104", client: 192.0.101.226, server: yourwpdomain.com, request: "HEAD / HTTP/1.1", host: "www.yourwpdomain.com"
2020/12/04 00:41:11 [error] 49527#49527: *64584 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of WCS_Query::get_endpoint_title($endpoint) should be compatible with WC_Query::get_endpoint_title($endpoint, $action = '') in /var/www/yourwpdomain.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-query.php on line 104" while reading response header from upstream, client: 2402:800:63b5:adc5:c19d:f6f4:6bd2:f00c, server: yourwpdomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php74-fpm.sock:", host: "yourwpdomain.com"
2020/12/04 00:41:13 [error] 49527#49527: *64587 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of WCS_Query::get_endpoint_title($endpoint) should be compatible with WC_Query::get_endpoint_title($endpoint, $action = '') in /var/www/yourwpdomain.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-query.php on line 104PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40960 bytes) in /var/www/yourwpdomain.com/htdocs/wp-content/object-cache.php on line 1357PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/yourwpdomain.com/htdocs/wp-content/plugins/wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Core/VOs/WpThemeVo.php on line 1PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 114688 bytes) in Unknown on line 0" while reading response header from upstream, client: 2402:800:63b5:adc5:c19d:f6f4:6bd2:f00c, server: yourwpdomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php74-two-fpm.sock:", host: "www.yourwpdomain.com"
2020/12/04 00:41:30 [error] 49527#49527: *64589 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of WCS_Query::get_endpoint_title($endpoint) should be compatible with WC_Query::get_endpoint_title($endpoint, $action = '') in /var/www/yourwpdomain.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-query.php on line 104PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40960 bytes) in /var/www/yourwpdomain.com/htdocs/wp-content/object-cache.php on line 1357PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/yourwpdomain.com/htdocs/wp-content/plugins/wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Core/VOs/WpThemeVo.php on line 1PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 114688 bytes) in Unknown on line 0", client: 2402:800:63b5:adc5:c19d:f6f4:6bd2:f00c, server: yourwpdomain.com, request: "GET / HTTP/1.1", host: "www.yourwpdomain.com"
2020/12/04 00:41:33 [error] 49527#49527: *64590 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of WCS_Query::get_endpoint_title($endpoint) should be compatible with WC_Query::get_endpoint_title($endpoint, $action = '') in /var/www/yourwpdomain.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-query.php on line 104PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40960 bytes) in /var/www/yourwpdomain.com/htdocs/wp-content/object-cache.php on line 1357PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/yourwpdomain.com/htdocs/wp-content/plugins/wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Core/VOs/WpThemeVo.php on line 1PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 114688 bytes) in Unknown on line 0", client: 2402:800:63b5:adc5:c19d:f6f4:6bd2:f00c, server: yourwpdomain.com, request: "GET / HTTP/1.1", host: "www.yourwpdomain.com"
I guess the error is related to cache.
I use the option --wpfc when install the Wordpress, then install Opject cache plugin and connect to Redis server at Wordpress dashboard.
Thanks for your help