Ernani1968 Posted February 2, 2018 Report Share Posted February 2, 2018 Personnel installed the skin lance and after 3 months I saw this error : "Fatal error: 'break' not in the 'loop' or 'switch' context in /home/u928397390/public_html/admin/modules/Pilotmanager/Pilotmanager.php on line 73" No changes were made, I just can not access the admin page. Can someone help me. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted February 2, 2018 Administrators Report Share Posted February 2, 2018 Does your site use PHP 5.x.x or PHP 7.0? And what version of phpVMX are you currently using? List the contents of Pilotmanager.php line 73 See this: https://stackoverflow.com/questions/34871198/fatal-error-break-not-in-the-loop-or-switch-context-in Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted February 3, 2018 Moderators Report Share Posted February 3, 2018 According to this I can see that parkho has a break on line 64. If you have something that looks almost identical I would suggest you to just remove the break statement. If you are not sure about what do do, paste here lines 70-80 and we will be able to review it. I assume that line 73 has probably a break statement Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted February 6, 2018 Moderators Report Share Posted February 6, 2018 On 2/3/2018 at 2:08 PM, servetas said: According to this I can see that parkho has a break on line 64. If you have something that looks almost identical I would suggest you to just remove the break statement. If you are not sure about what do do, paste here lines 70-80 and we will be able to review it. I assume that line 73 has probably a break statement I can't remember why I put "break" in that line but as of php 7 or higher, "break" statement is not permitted any more. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.