Failure but deployed

Game development with Board Game Arena Studio
Post Reply
User avatar
Inaofr
Posts: 142
Joined: 26 March 2020, 22:26

Failure but deployed

Post by Inaofr »

I just have deployed a new version of Stone Age and in the deploy log there is this failure indicated:

Code: Select all

Scan for new translations 🚨
Failed to parse file Game.php
PhpParser\ParserAbstract::parse(): Argument #1 ($code) must be of type string, false given, called in /var/tournoi/release/tournoi-260107-0936/www/Bga/Translations/TranslationsScanner.php on line 22
Despite this, it is deployed, at least it appears so in the manage game panel, and it seems to run without issue in production.

In this new version, I have moved and renamed stoneage.game.php to modules/php/Game.php, and done stuff indicated in Namespaced game class.

What may I have missed?
User avatar
thoun
Posts: 1618
Joined: 10 December 2020, 22:25

Re: Failure but deployed

Post by thoun »

Scanning translations doesn't prevent deploy, at worst some translations won't be in the translation center. Is the error still here if you hit re deploy ?
User avatar
Inaofr
Posts: 142
Joined: 26 March 2020, 22:26

Re: Failure but deployed

Post by Inaofr »

Done. No error this time.
Post Reply

Return to “Developers”