Fatal error: 'continue' not in the 'loop' or 'switch' context... HELP ME!

wordpress

#1

Hi! i am a complete noob and tried to but my newscore theme and got this… Fatal error: ‘continue’ not in the ‘loop’ or ‘switch’ context in C:\xampp\htdocs\website\wp-content\themes\newscore\includes\functions\media.php on line 519 i have no idea whats going one. help me!


#2

Hello there,

I could offer paid support if you don’t mind, In this case, please, send me an email to gmail(at)moskvayigit.com with your login credentials then I can/will check the problem.

Best,

Yigit


#3

Are you running it on PHP 7? Are you using continue statement outside switch statement? If your answer is yes for both the questions then that is the culprit.