-
Notifications
You must be signed in to change notification settings - Fork 113
Error ShowResearchPage.class.php #336
Comments
Message: Undefined offset: 113 Line: 48 |
Did you add some things? Like, some special researches? I had this mistake when I modded it myself. I'd advise you to try to change the language and to check the translation file because for what it seems, it looks like said translations are missing... Does the same problem appear when you go in "technology"? |
Can you do this change locally and test if the error still exists? |
@Nusuminat did it help? |
it is about research and researches are saved under prefix_users. so it should be $USER[$resource[$elementId]] |
gentlemen, I did it ... and everything works perfect ...;) as for me because why you have to return raw materials;) $costResources = BuildFunctions::getElementPrice($USER, $PLANET, $elementId, false, $PLANET[$elementId] = 0); |
You should do this: |
👍 |
hello and I apologize immediately for my language of angelski.
I installed the version 1.8git and after testing it turned out that there is a fault in the Laboratory. If the test is turned on, unfortunately it can not be canceled, I do not know if this is a problem for me. in the light of the prv server
Message: Undefined offset: 108
File: /includes/pages/game/ShowResearchPage.class.php
Line: 61
URL: http: //xxxx.xxxx/game.php?page=research
PHP-Version: 5.6.32-1 + ubuntu16.04.1 + deb.sury.org + 2
PHP-API: apache2handler
2Moons Version: 1.8.git
Debug Backtrace:
0 /includes/pages/game/ShowResearchPage.class.php(61): errorHandler (8, 'Undefined offse ...', '/ includ ...', 61, Array)
1 /includes/pages/game/ShowResearchPage.class.php(342): ShowResearchPage-> CancelBuildingFromQueue ()
2 /game.php(57): ShowResearchPage-> show ()
3 {main}
The text was updated successfully, but these errors were encountered: