Title: Edgecast testing error
Last modified: August 30, 2016

---

# Edgecast testing error

 *  [alekc](https://wordpress.org/support/users/alekc/)
 * (@alekc)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/edgecast-testing-error/)
 * Right now it’s impossible to test edgecast mirror since there is an issue in 
   w3 code.
 * In W3_Cdn_Mirror::test you declare following files:
    `$files = array('' => 'purge_test_'.
   time());`
 * and pass it to W3_Cdn_Mirror_Edgecast::purge, where you are trying to achieve
   following:
 *     ```
       foreach ($files as $file) {
                   $local_path = $file['local_path'];
                   $remote_path = $file['remote_path'];
       ```
   
 * Since $files is a simple array with a string, obviously ‘local_path’ and remote_path
   do not exist, and that function will always fail.
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

The topic ‘Edgecast testing error’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [alekc](https://wordpress.org/support/users/alekc/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/edgecast-testing-error/)
 * Status: not resolved