se me ha presentado en varias ocaciones este error alguna idea de que lo esta provocando
[06-Apr-2023 16:26:31] USER ERROR: "Argument 2 passed to ShipType::__construct() must be of the type int, string given, called in /home/star/web/xnova.nat.cu/public_html/includes/classes/missions/functions/calculateAttack.php on line 293"
File: /home/star/web/xnova.nat.cu/public_html/includes/libs/opbe/models/ShipType.php | Line: 70
URL: xnova.nat.cu/game.php?page=battleSimulator&mode=send | Version: 2.3.git
Stack trace:
#0 /includes/classes/missions/functions/calculateAttack.php(293): ShipType->__construct(218, '111111111111111...', Array, '2000000', Array, '35000000')
#1 /includes/classes/missions/functions/calculateAttack.php(63): getShipType(218, '111111111111111...')
#2 /includes/pages/game/ShowBattleSimulatorPage.class.php(141): calculateAttack(Array, Array, '30', '0')
#3 /game.php(40): ShowBattleSimulatorPage->send()
#4 {main}
[06-Apr-2023 16:26:31] USER ERROR: "Argument 2 passed to ShipType::__construct() must be of the type int, string given, called in /home/star/web/xnova.nat.cu/public_html/includes/classes/missions/functions/calculateAttack.php on line 293"
File: /home/star/web/xnova.nat.cu/public_html/includes/libs/opbe/models/ShipType.php | Line: 70
URL: xnova.nat.cu/game.php?page=battleSimulator&mode=send | Version: 2.3.git
Stack trace:
#0 /includes/classes/missions/functions/calculateAttack.php(293): ShipType->__construct(218, '111111111111111...', Array, '2000000', Array, '35000000')
#1 /includes/classes/missions/functions/calculateAttack.php(63): getShipType(218, '111111111111111...')
#2 /includes/pages/game/ShowBattleSimulatorPage.class.php(141): calculateAttack(Array, Array, '30', '0')
#3 /game.php(40): ShowBattleSimulatorPage->send()
#4 {main}