This string: <!– WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! –> is returned in every single response, even ones where I’m doing a json return, which then breaks as well. While it’s certainly something that should be fixed, and I appreciate the notification, I don’t feel it’s necessary to come back in every response, thereby breaking other things. Maybe constrain it to just admin related views. How can I suppress this? And my question isn’t how to fix it, it’s more like how to suppress this when it does get wacked such that we don’t needlessly inflict more damage elsewhere. So, “fix the wp-cache plugin” isn’t the answer I’m looking for here. Thanks.
- The topic ‘Suppressing error string on response?’ is closed to new replies.