{"id":11980962,"date":"2019-09-30T07:05:13","date_gmt":"2019-09-30T07:05:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/w3-total-cache-blocking-ability-to-login-to-site\/"},"modified":"2019-09-30T07:05:13","modified_gmt":"2019-09-30T07:05:13","slug":"w3-total-cache-blocking-ability-to-login-to-site","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/w3-total-cache-blocking-ability-to-login-to-site\/","title":{"rendered":"W3 Total Cache Blocking Ability to Login to Site"},"content":{"rendered":"<p>This has now happened twice. I wake up to find out I can&#8217;t login to my site and then I get an email from WordPress giving me a recovery link and saying the W3 Total Cache is causing an error. Luckily, it&#8217;s an easy fix and I just have to hit &#8220;resume&#8221; but why is this happening? <\/p>\n<p>The WordPress recovery link email gave me this information:<\/p>\n<p>Error Details<br \/>\n=============<br \/>\nAn error of type E_ERROR was caused in line 599 of the file \/home\/wherefoo\/public_html\/wp-content\/plugins\/w3-total-cache\/Util_PageUrls.php. Error message: Uncaught Error: Call to a member function get_feed_permastruct() on null in \/home\/wherefoo\/public_html\/wp-content\/plugins\/w3-total-cache\/Util_PageUrls.php:599<br \/>\nStack trace:<br \/>\n#0 \/home\/wherefoo\/public_html\/wp-content\/plugins\/w3-total-cache\/Util_PageUrls.php(345): W3TC\\Util_PageUrls::get_feed_link(&#8216;rss2&#8217;, NULL)<br \/>\n#1 \/home\/wherefoo\/public_html\/wp-content\/plugins\/w3-total-cache\/PgCache_Flush.php(154): W3TC\\Util_PageUrls::get_feed_urls(Array, NULL)<br \/>\n#2 \/home\/wherefoo\/public_html\/wp-content\/plugins\/w3-total-cache\/PgCache_Plugin.php(348): W3TC\\PgCache_Flush-&gt;flush_post(5438)<br \/>\n#3 \/home\/wherefoo\/public_html\/wp-includes\/class-wp-hook.php(288): W3TC\\PgCache_Plugin-&gt;w3tc_flush_post(5438)<br \/>\n#4 \/home\/wherefoo\/public_html\/wp-includes\/class-wp-hook.php(310): WP_Hook-&gt;apply_filters(&#8221;, Array)<br \/>\n#5 \/home\/wherefoo\/public_html\/wp-includes\/plugin.php(465): WP_Hook-&gt;do_action(Array)<br \/>\n#6 \/home\/wherefoo\/public_html\/wp-content\/plugins\/w3-total-cache\/CacheFlush_Locally.php(156): do_action(&#8216;w3tc_flush_post&#8217;, 5438, NULL)<br \/>\n#7 \/home\/wherefoo\/public_ht<\/p>\n","protected":false},"template":"","class_list":["post-11980962","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11980962","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\/11980962\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11980962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}