Title: Bug in debug.php
Last modified: May 12, 2023

---

# Bug in debug.php

 *  Resolved [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [3 years ago](https://wordpress.org/support/topic/bug-in-debug-php/)
 * Current version line 269 has this:
 *     ```wp-block-code
       $x_via     = ( is_numeric( strpos( $headers['Via'], 'arnish' ) ) ) ? true : false;
       ```
   
 * The problem is that `$headers['Via']` can be an *array* of headers which causes
   a fatal error in newer versions of PHP.
 * To reproduce, ensure, there are more than one Via header, go to the “Check caching”
   page and purge.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [2 years, 10 months ago](https://wordpress.org/support/topic/bug-in-debug-php/#post-16966098)
 * Apologies for delay, this should be fixed in the last release.

Viewing 1 replies (of 1 total)

The topic ‘Bug in debug.php’ is closed to new replies.

 * ![](https://ps.w.org/varnish-http-purge/assets/icon-256x256.png?rev=3027185)
 * [Proxy Cache Purge](https://wordpress.org/plugins/varnish-http-purge/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/varnish-http-purge/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/varnish-http-purge/)
 * [Active Topics](https://wordpress.org/support/plugin/varnish-http-purge/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/varnish-http-purge/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/varnish-http-purge/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/bug-in-debug-php/#post-16966098)
 * Status: resolved