-
Notifications
You must be signed in to change notification settings - Fork 116
Building page error #138
Comments
either you do not have the building id of 3 in the vars.php or you do not have it in the database vars? |
No i will not open an issue if the answer was that easy penguin Regards |
Try to add a
maybe it helps. |
Sorry my line 103 is not the same as yours as mine is edited |
|
thats the line generating the error above yes |
Its always "Undefined offset: 3"? |
No sometims its 2, sometimes its 5, sometimes its 7, the id is various Regards |
Here some new errors that i have some times still the same line as announced (its not the same line as official pack but no modification has been made on this function) [31-Mar-2016 01:19:47] NOTICE: "Undefined offset: 3" [31-Mar-2016 04:43:50] NOTICE: "Undefined offset: 2" [31-Mar-2016 04:43:51] NOTICE: "Undefined offset: 3" |
Is this still valid? |
For me it is yes i never really found the cause of this anyway it doesnt really affect the game but would allways be better to have a non bugged one :P |
I added some extra debug (on a extra branch). See linked commit. You should be integrate this and report it, if it happends again. |
Hello thanks i will add it in the evening and will keep u updated |
Hello not sure it will help as it does not provide more information [19-May-2016 22:14:04] USER ERROR: "Issue #138 triggered: " |
I added an updated version. |
Here is my updated error log then [20-May-2016 15:22:20] USER ERROR: "Issue #138 triggered: int(2) |
Thanks. It looks like someone click multiple times. This error appears, if user wann to remove queue id 4, but there is just 1 and 2 |
hello jan,
Daily we have errors like that and this doesnt matter how many years and how many version of 2moons i used ? can you help me to fix that or atleast say me whats going wrong ? The offset id can change in any id of building thats canceled
[11-Feb-2016 14:00:05] NOTICE: "Undefined offset: 3"
File: /home/admin/web/xterium.space/public_html/includes/pages/game/ShowBuildingsPage.class.php | Line: 103
URL: http://xterium.space/game.php?page=buildings | Version: 1.7.git
USERID: 10775
Stack trace:
#0 /includes/pages/game/ShowBuildingsPage.class.php(103): errorHandler(8, 'Undefined offse...', '/home/admin/web...', 103, Array)
#1 /includes/pages/game/ShowBuildingsPage.class.php(402): ShowBuildingsPage->RemoveBuildingFromQueue(5)
#2 /game.php(79): ShowBuildingsPage->show()
#3 {main}
The text was updated successfully, but these errors were encountered: