Title: PHP 7 Support
Last modified: February 8, 2019

---

# PHP 7 Support

 *  Resolved [ClarkC](https://wordpress.org/support/users/clarkc/)
 * (@clarkc)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-support-41/)
 * My website was auto-updated and set to PHP 7 and I get the following PHP error:
 *  PHP Fatal error: ‘continue’ not in the ‘loop’ or ‘switch’ context in
    /home4/
   davischo/public_html/wp-content/plugins/file-away/lib/inc/inc.playback.php on
   line 78
 * When I changed it back to PHP 5.6, everything is fine. I am running the current
   version of WordPress and File Away(uninstalling and reinstalling File Away has
   no affect). Are there any plans for File Away to support PHP 7? I have seen this
   issue on 2 different websites.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-support-41/#post-11183959)
 * Minor edits to two files to fix the php 7 issue:
 * 1. open `file-away/lib/inc.playback.php`
    2. delete the line that says `if($skipthis)
   continue;` (line 78) 3. save the file. 4. open `file-away/lib/cls/class.fileaway.
   php` 5. go to line 143 and replace this:
 * `if($playback) include fileaway_dir.'/lib/inc/inc.playback.php';`
 * with this:
 *     ```
       if($playback) 
       {
       	include fileaway_dir.'/lib/inc/inc.playback.php'; 
       	if($skipthis) continue;
       }
       ```
   
 * 6. save the file. done.
 *  [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-7-support-41/#post-11263163)
 * Thanks. Will it be a new version of the plugin ?
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-7-support-41/#post-11472672)
 * Resolved in latest versions.
 *  [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-7-support-41/#post-11473629)
 * Thanks a lot !

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP 7 Support’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Li-An](https://wordpress.org/support/users/li-an/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/php-7-support-41/#post-11473629)
 * Status: resolved