{"record":{"id":"d4e86e62d23433f6","repo":"octobercms/october","slug":"invalid-aliases-string","errorCode":null,"errorMessage":"Invalid aliases string.","messagePattern":"Invalid aliases string\\.","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/backend/widgets/ReportContainer.php","lineNumber":286,"sourceCode":"                'sortOrder' => $widgetInfo['sortOrder']\n            ])\n        ];\n    }\n\n    /**\n     * onSetWidgetOrders\n     */\n    public function onSetWidgetOrders()\n    {\n        if (!$this->showReorder) {\n            throw new ForbiddenException;\n        }\n\n        $aliases = trim(Request::input('aliases'));\n        $orders = trim(Request::input('orders'));\n\n        if (!$aliases) {\n            throw new ApplicationException('Invalid aliases string.');\n        }\n\n        if (!$orders) {\n            throw new ApplicationException('Invalid orders string.');\n        }\n\n        $aliases = explode(',', $aliases);\n        $orders = explode(',', $orders);\n\n        if (count($aliases) != count($orders)) {\n            throw new ApplicationException('Invalid data posted.');\n        }\n\n        $widgets = $this->getWidgetsFromUserPreferences();\n        foreach ($aliases as $index => $alias) {\n            if (isset($widgets[$alias])) {\n                $widgets[$alias]['sortOrder'] = $orders[$index];\n            }","sourceCodeStart":268,"sourceCodeEnd":304,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/widgets/ReportContainer.php#L268-L304","documentation":"Error \"Invalid aliases string.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/widgets/ReportContainer.php:286 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}