Page MenuHomePhabricator

EXCEPTION: (Error) [] operator not supported for strings
Closed, ResolvedPublic

Description

Uploading an image with title

Orga_type2_eMAILING_Test.jpg

Error is triggered (PHP7.1) and can't view or interact with that mock.

EXCEPTION: (Error) [] operator not supported for strings at [<phabricator>/src/applications/pholio/view/PholioMockImagesView.php:223]
arcanist(head=stable, ref.master=ade25facfdf2, ref.stable=9503b941cc02), phabricator(head=stable, ref.master=1fed61cf9d73, ref.stable=23c54262caf8), phutil(head=stable, ref.master=9d85dfab0f53, ref.stable=10963f771f11)
  #0 phutil_tag(string, array, array) called at [<phabricator>/src/infrastructure/javelin/markup.php:53]
  #1 phutil_escape_html(array) called at [<phutil>/src/markup/render.php:157]
  #2 phutil_escape_html(array) called at [<phutil>/src/markup/render.php:119]
  #3 phutil_tag(string, array, array) called at [<phabricator>/src/view/phui/PHUITwoColumnView.php:181]
  #4 PHUITwoColumnView::buildMainColumn() called at [<phabricator>/src/view/phui/PHUITwoColumnView.php:106]
  #5 PHUITwoColumnView::getTagContent() called at [<phabricator>/src/view/AphrontTagView.php:161]
  #6 AphrontTagView::render() called at [<phabricator>/src/view/AphrontView.php:222]
  #7 AphrontView::producePhutilSafeHTML() called at [<phutil>/src/markup/render.php:133]
  #8 phutil_escape_html(PHUITwoColumnView) called at [<phutil>/src/markup/render.php:189]
  #9 phutil_implode_html(string, array) called at [<phabricator>/src/view/page/PhabricatorBarePageView.php:58]
  #10 PhabricatorBarePageView::willRenderPage() called at [<phabricator>/src/view/page/PhabricatorStandardPageView.php:199]
  #11 PhabricatorStandardPageView::willRenderPage() called at [<phabricator>/src/view/page/AphrontPageView.php:46]
  #12 AphrontPageView::render() called at [<phabricator>/src/view/page/PhabricatorStandardPageView.php:884]
  #13 PhabricatorStandardPageView::produceAphrontResponse() called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:649]
  #14 AphrontApplicationConfiguration::produceResponse(AphrontRequest, PhabricatorStandardPageView) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:278]
  #15 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:177]
  #16 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:17]

Version Information

phabricator

23c54262caf84abdad82974212170ff24d138f4d (Sun, Jan 22) (branched from ddf82a815b9a07e901870c2f4d5b7582af7b4d82 on origin)

arcanist

9503b941cc02be637d967bb50cfb25f852e071e4 (Sat, Jan 7) (branched from ade25facfdf22aed1c1e20fed3e58e60c0be3c2b on origin)

phutil

10963f771f118baa338aacd3172aaede695cde62 (Fri, Jan 13) (branched from 9d85dfab0f532d50c2343719e92d574a4827341b on origin)

Event Timeline

acs-ferreira renamed this task from Pholio : EXCEPTION: (Error) [] operator not supported for strings to EXCEPTION: (Error) [] operator not supported for strings.Jan 28 2017, 4:15 AM

Can you provide system information, since you're saying this is a system (7.1) issue? I'm not able to currently reproduce this bug.

  • Ubuntu 16.04
  • PHP 7.1.1
  • nginx 1.11.9
  • Galera Cluster MariaDB 10.1.21