Page MenuHomePhorge

Cannot upload new mockups via Pholio
Open, Needs TriagePublic

Description

The official Phabricator repo received a few more updates this year. I believe an update in May broke Pholio on our Phabricator installation, that automatically self-updates based on the latest stable on Github.

Trying to save a new Pholio post results in the following error:

Illegal offset type in isset or empty at [PhutilErrorHandler.php:261]
Stack trace:
PhutilErrorHandler::handleError called at [/srv/www/phabricator/src/applications/pholio/editor/PholioMockEditor.php:212]
PholioMockEditor::loadPholioImage called at [/srv/www/phabricator/src/applications/pholio/xaction/PholioImageFileTransaction.php:114]
PholioImageFileTransaction::extractFilePHIDs called at [/srv/www/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:4414]
PhabricatorApplicationTransactionEditor::extractFilePHIDs called at [/srv/www/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:2313]
PhabricatorApplicationTransactionEditor::newFileTransaction called at [/srv/www/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:2244]
PhabricatorApplicationTransactionEditor::expandSupportTransactions called at [/srv/www/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1222]
PhabricatorApplicationTransactionEditor::applyTransactions called at [/srv/www/phabricator/src/applications/pholio/controller/PholioMockEditController.php:214]
PholioMockEditController::handleRequest called at [/srv/www/phabricator/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
phlog called at [/srv/www/phabricator/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable called at [/srv/www/phabricator/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
AphrontApplicationConfiguration::handleThrowable called at [/srv/www/phabricator/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
AphrontApplicationConfiguration::processRequest called at [/srv/www/phabricator.ravo.io/phabricator/src/aphront/configuration/AphrontApplicationConfiguration.php:204]
AphrontApplicationConfiguration::runHTTPRequest called at [/srv/www/phabricator/webroot/index.php:35]

I just saw that you merged those newer changes into your fork recently, so I wonder if you are aware of that bug, and whether it's possible to fix it.