Hi~~
Often the following error occurs.
It's the galaxy and the missile part, can you tell me what the error is?
The source doesn't seem to have any problems.
ShowGalaxyPage.class.php error line 91....
89: $USER += Database::get()->selectSingle($sql, array(
90: ':userId' => $USER['id'],
91: ':statType' => 1
92: ));
============================
[30-Dec-2022 12:00:02] USER ERROR: "Unsupported operand types"
File: /www_root/includes/pages/game/ShowGalaxyPage.class.php | Line: 91
URL: /game.php?page=galaxy | Version: 2.0.git
Stack trace:
#0 /game.php(57): ShowGalaxyPage->show()
#1 {main}
============================
[02-Jan-2023 20:59:34] USER ERROR: "SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'interplanetary_misil' at row 1
Query-Code:UPDATE uni1_planets SET interplanetary_misil = interplanetary_misil - 7 WHERE id = 12702;"
File: /www_root/includes/classes/Database.class.php | Line: 126
URL: /game.php?page=fleetMissile | Version: 2.0.git
Stack trace:
#0 /includes/classes/Database.class.php(177): Database->_query('UPDATE uni1_pla...', Array, 'update')
#1 /includes/classes/class.FleetFunctions.php(585): Database->update('UPDATE %%PLANET...', Array)
#2 /includes/pages/game/ShowFleetMissilePage.class.php(162): FleetFunctions::sendFleet(Array, 10, '674', '12702', '3', '153', '8', '1', '20', '1322', 3, 101, 7, 1, Array, 1672663924, 1672663924, 1672663924, 0, 411)
#3 /game.php(57): ShowFleetMissilePage->show()
#4 {main}
===========================
Often the following error occurs.
It's the galaxy and the missile part, can you tell me what the error is?
The source doesn't seem to have any problems.
ShowGalaxyPage.class.php error line 91....
89: $USER += Database::get()->selectSingle($sql, array(
90: ':userId' => $USER['id'],
91: ':statType' => 1
92: ));
============================
[30-Dec-2022 12:00:02] USER ERROR: "Unsupported operand types"
File: /www_root/includes/pages/game/ShowGalaxyPage.class.php | Line: 91
URL: /game.php?page=galaxy | Version: 2.0.git
Stack trace:
#0 /game.php(57): ShowGalaxyPage->show()
#1 {main}
============================
[02-Jan-2023 20:59:34] USER ERROR: "SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'interplanetary_misil' at row 1
Query-Code:UPDATE uni1_planets SET interplanetary_misil = interplanetary_misil - 7 WHERE id = 12702;"
File: /www_root/includes/classes/Database.class.php | Line: 126
URL: /game.php?page=fleetMissile | Version: 2.0.git
Stack trace:
#0 /includes/classes/Database.class.php(177): Database->_query('UPDATE uni1_pla...', Array, 'update')
#1 /includes/classes/class.FleetFunctions.php(585): Database->update('UPDATE %%PLANET...', Array)
#2 /includes/pages/game/ShowFleetMissilePage.class.php(162): FleetFunctions::sendFleet(Array, 10, '674', '12702', '3', '153', '8', '1', '20', '1322', 3, 101, 7, 1, Array, 1672663924, 1672663924, 1672663924, 0, 411)
#3 /game.php(57): ShowFleetMissilePage->show()
#4 {main}
===========================
--------------------------------------------------------------------------------------