error del simulador

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • error del simulador

    me he encontrado con este error y no se como poder dar solución a el

    [17-Mar-2023 02:01:48] USER ERROR: "Argument 2 passed to ShipType::__construct() must be of the type int, string given, called in /home/star/web/ on line 293"
    File: /home/star/web/ | Line: 70
    URL: | Version: 2.3.git
    Stack trace:
    #0 /includes/classes/missions/functions/calculateAttack.php(293): ShipType->__construct(218, '100000000000000...', Array, '2000000', Array, '35000000')
    #1 /includes/classes/missions/functions/calculateAttack.php(63): getShipType(218, '100000000000000...')
    #2 /includes/pages/game/ShowBattleSimulatorPage.class.php(141): calculateAttack(Array, Array, '30', '0')
    #3 /game.php(40): ShowBattleSimulatorPage->send()
    #4 {main}