• Resolved jarjekordne1

    (@jarjekordne1)


    Hi,
    everything else is working fine, but if I add playback function (shortcode: [fileaway type=”table” playback=”compact”] )
    following error occurs:

    Fatal error: ‘continue’ not in the ‘loop’ or ‘switch’ context in /data05/virt2448/domeenid/www.XXXX.XX/wp-content/plugins/file-away/lib/inc/inc.playback.php on line 78

    What could be the problem?
    Many thanks,
    Mirko

Viewing 1 replies (of 1 total)
  • Plugin Author thomstark

    (@thomstark)

    I’m assuming you’re using PHP7, which File Away doesn’t fully support yet.

    That said, this should fix it:

    1. Open up wp-content/plugins/file-away/lib/inc/inc.playback.php for editing.
    2. Delete the line at the very bottom of that file (should be line 78): if($skipthis) continue;
    3. Open up wp-content/plugins/file-away/lib/cls/class.fileaway.php for editing.
    4. Around line 143, you should see this line: if($playback) include fileaway_dir.'/lib/inc/inc.playback.php';

    Replace that line with the following:

    if($playback) 
    {
    	include fileaway_dir.'/lib/inc/inc.playback.php';
    	if(!empty($skipthis)) continue;
    }
Viewing 1 replies (of 1 total)

The topic ‘Playback error’ is closed to new replies.