Page MenuHomePhorge

Undefined index exception setting Meme text
Closed, ResolvedPublic

Description

Upstreaming from our server logs. We are still on PHP 7.3 and our deployed version is still before rPb4cfe56f03b44615ac9251aed8d74bf13b085051 so line numbers are off but patch to be provided should also make this PHP8.1-safe, thus setting PHP 8 support.

Steps to reproduce:
Unclear.

Actual outcome:

[2023-09-12 16:44:17] EXCEPTION: (RuntimeException) Undefined index: above at [<arcanist>/src/error/PhutilErrorHandler.php:251]
 arcanist(), ava(), phorge(), translations(), wmf-ext-misc()
   #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phorge>/src/applications/macro/engine/PhabricatorMemeEngine.php:276]
   #1 <#2> PhabricatorMemeEngine::newGDAsset(PhabricatorFile, string) called at [<phorge>/src/applications/macro/engine/PhabricatorMemeEngine.php:194]
   #2 <#2> PhabricatorMemeEngine::newAssetData(PhabricatorFile) called at [<phorge>/src/applications/macro/engine/PhabricatorMemeEngine.php:164]
   #3 <#2> PhabricatorMemeEngine::newAssetFile(PhabricatorFile) called at [<phorge>/src/applications/macro/engine/PhabricatorMemeEngine.php:75]
   #4 <#2> PhabricatorMemeEngine::newAsset() called at [<phorge>/src/applications/macro/controller/PhabricatorMacroMemeController.php:21]
   #5 <#2> PhabricatorMacroMemeController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
   #6 phlog(RuntimeException) called at [<phorge>/src/aphront/handler/PhabricatorAjaxRequestExceptionHandler.php:27]
   #7 PhabricatorAjaxRequestExceptionHandler::handleRequestThrowable(AphrontRequest, RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
   #8 AphrontApplicationConfiguration::handleThrowable(RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
   #9 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:204]
   #10 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]'

Revisions and Commits

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.
StatusAssignedTask
OpenNone
Resolvedaklapper