{"id":18739800,"date":"2025-12-02T17:55:47","date_gmt":"2025-12-02T17:55:47","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/http-500-errors-2\/"},"modified":"2025-12-02T17:56:49","modified_gmt":"2025-12-02T17:56:49","slug":"http-500-errors-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/http-500-errors-2\/","title":{"rendered":"HTTP 500 Errors"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;m seeing a bunch of HTTP 500 errors with WP-Optimize (latest) and the latest Wordfence. I&#8217;m seeing in my error.log:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">thrown in \/var\/www\/html\/wp-content\/plugins\/wp-optimize-premium\/includes\/class-wpo-page-optimizer.php on line 61&#8243; while reading response header from upstream, client: 127.0.0.1, server: myserver.com, request: &#8220;POST \/?wordfence_syncAttackData=1764611765.8973 HTTP\/1.1&#8221;, upstream: &#8220;fastcgi:\/\/unix:\/run\/php\/php8.4-fpm.sock:&#8221;, host: &#8220;www.myserver.com&#8221;<br \/>2025\/12\/01 18:08:41 [error] 896#896: *54323 open() &#8220;\/var\/www\/html\/apple-touch-icon-precomposed.png&#8221; failed (2: No such file or directory), client:, server: myserver.com, request: &#8220;GET \/apple-touch-icon-precomposed.png HTTP\/1.1&#8221;, host: &#8220;www.myserver.com&#8221;<br \/>2025\/12\/01 18:08:41 [error] 896#896: *54325 open() &#8220;\/var\/www\/html\/apple-touch-icon.png&#8221; failed (2: No such file or directory), client: , server: myserver.com, request: &#8220;GET \/apple-touch-icon.png HTTP\/1.1&#8221;, host: &#8220;www.myserver.com&#8221;<br \/>2025\/12\/01 18:08:41 [error] 898#898: *54327 FastCGI sent in stderr: &#8220;PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_optimize_minify_config() in \/var\/www\/html\/wp-content\/plugins\/wp-optimize-premium\/includes\/class-wpo-page-optimizer.php:61<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Looks like WP-Optimize is causing Wordfence errors&#8230; <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anyone else seeing this? <\/p>\n","protected":false},"template":"","class_list":["post-18739800","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18739800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18739800\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18739800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}