{"record":{"id":"374bd4a77c309f8f","repo":"filamentphp/filament","slug":"toolbar-button-button-cannot-be-found","errorCode":null,"errorMessage":"Toolbar button [{$button}] cannot be found.","messagePattern":"Toolbar button \\[(.+?)\\] cannot be found\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/forms/src/Components/RichEditor.php","lineNumber":1613,"sourceCode":"                'fi-fo-rich-editor-uploading-file': isUploadingFile,\n            }\"\n            wire:ignore\n            wire:key=\"<?= e($livewireKey) ?>.<?= substr(md5(serialize([$isDisabled])), 0, 64) ?>\"\n        >\n            <?php if ((! $isDisabled) && filled($toolbarButtons)) { ?>\n                <?php // `role=\"toolbar\"` is withheld until the APG roving-tabindex/arrow-key pattern is\n                      // implemented: the tools are `tabindex=\"-1\"` with no arrow-key navigation, so announcing\n                      // a toolbar would promise keyboard behaviour that does not exist. The `aria-label`\n                      // still names the group.?>\n                <div\n                    class=\"fi-fo-rich-editor-toolbar\"\n                    aria-label=\"<?= e(__('filament-forms::components.rich_editor.toolbar.label')) ?>\"\n                >\n                    <?php foreach ($toolbarButtons as $buttonGroup) { ?>\n                        <div class=\"fi-fo-rich-editor-toolbar-group\">\n                            <?php foreach ($buttonGroup as $button) { ?>\n                                <?php if (is_string($button)) { ?>\n                                    <?= ($tools[$button] ?? throw new LogicException(\"Toolbar button [{$button}] cannot be found.\"))->toHtml() ?>\n                                <?php } else { ?>\n                                    <?= $button->toHtml() ?>\n                                <?php } ?>\n                            <?php } ?>\n                        </div>\n                    <?php } ?>\n                </div>\n            <?php } ?>\n\n            <div\n                x-show=\"isUploadingFile\"\n                x-cloak\n                class=\"fi-fo-rich-editor-uploading-file-message\"\n            >\n                <?= generate_loading_indicator_html()->toHtml() ?>\n\n                <span><?= e($this->getUploadingFileMessage()) ?></span>\n            </div>","sourceCodeStart":1595,"sourceCodeEnd":1631,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/forms/src/Components/RichEditor.php#L1595-L1631","documentation":"Error \"Toolbar button [{$button}] cannot be found.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/forms/src/Components/RichEditor.php:1613 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":"53483fa9340e4ec637985fe454ebb58afb92ea24","analyzedAt":"2026-08-17T02:06:23.049Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}