GameEngine/Travianx-2 — Issue #2: PHP Fatal error:  Cannot break/continue 1 level in /var/www/html/dev5/GameEngine/model/queue.php on line 124PHP Fatal error:  Cannot break/continue 1 level in /var/www/html/dev5/GameEngine/model/queue.php on line 124
Author: stryng
Created: 2012-02-19 23:51:40+00:00
State: open

So basically after seetig up the cofig file db params ad creatig the db 4 the give user, while tailig the error_log exec idex.php?istall and .....
PHP Fatal error: Cannot break/continue 1 level in /var/www/html/dev5/GameEngine/model/queue.php on line 124

so after code checkig found out that the break is not inside a loop or select statement and so cannot break out of the loop or select that you are not in. So what worked for me was to break out of that function by calling return opposed to break :D

so the fix:

124 return;

:D ^_^