PHP error: "'continue' not in the 'loop' or 'switch' context" when running PHP7
I'm getting:
Fatal error: 'continue' not in the 'loop' or 'switch' context in /low_search/filters/keywords/lsf.keywords.php on line 831
on a Low Search results page when running PHP7, EE 2.11.1 and LS 4.4.3.
Replies
Low 28 Apr 2016 06:20
Okay, open up lsf.keywords.php and look up line #831.
Then change
continue;
to this:...which should fix that issue.
Also note that LS for EE2 hasn't been tested on PHP7 just yet.
John Faulds 28 Apr 2016 06:24
All good now, thanks.