W3TC Memcached related errors
-
I recently installed Memcached on our CentOS 7 server running nginx. When I set the W3TC database cache to use it, problems started cropping up. For one thing, when I log out of WordPress, I get a 502 Bad Gateway error.
Looking at the logs I’m getting a lot of references to “PgCache_ContentGrabber,” but not sure if it’s related. Eg:
2023/03/22 22:58:50 [error] 21494#21494: *10497 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function adrotate_group() in /var/www/humortimes/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php(1906) : eval()’d code:1
Stack trace:0 /var/www/humortimes/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php(1906): eval()
1 [internal function]: W3TC\PgCache_ContentGrabber->_parse_dynamic_mfunc()
2 /var/www/humortimes/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php(1877): preg_replace_callback()
3 /var/www/humortimes/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php(394): W3TC\PgCache_ContentGrabber->_parse_dynamic()
4 /var/www/humortimes/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php(224): W3TC\PgCache_ContentGrabber->process_cached_page_and_exit()
5 /var/www/humortimes/wp-content/advanced-cache.php(37): W3TC\PgCache_ContentGrabber->process()
6 /var/www/humortimes/wp-settings.php(95): include(‘/var/www/humort…’)
7 /var/www/humortimes/wp-config.php(132): require_onc” while reading response header from upstream, client: 172.71.222.21, server: https://www.humortimes.com, request: “GET /59387/princess-ivanka-furious-pam-bondi/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “www.humortimes.com”
- The topic ‘W3TC Memcached related errors’ is closed to new replies.