[GH-ISSUE #10] [Player Counter] Exception when opening the Players page on a Minecraft server with someone online #8

Closed
opened 2026-05-07 00:16:58 +02:00 by BreizhHardware · 1 comment

Originally created by @Taubsie on GitHub (Dec 20, 2025).
Original GitHub issue: https://github.com/pelican-dev/plugins/issues/10

While trying to open the "Players" page, when having installed the Player Counter plugin on a Minecraft server with someone online, I get a 500 error page. When no one is online, the page works fine.

Image

Info from the Panel Logs

Error Message

Undefined array key "name" {"view":,"userId":1,"exception":"[object] (Spatie\\LaravelIgnition\\Exceptions\\ViewException(code: 0): Undefined array key \"name\" at /var/www/pelican/plugins/player-counter/src/Filament/Server/Pages/PlayersPage.php:132)


Stacktrace

[stacktrace]
#0 /var/www/pelican/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(258): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /var/www/pelican/plugins/player-counter/src/Filament/Server/Pages/PlayersPage.php(132): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->{closure:Illuminate\\Foundation\\Bootstrap\\HandleExceptions::forwardsTo():257}()
#2 /var/www/pelican/vendor/filament/support/src/Concerns/EvaluatesClosures.php(36): Boy132\\PlayerCounter\\Filament\\Server\\Pages\\PlayersPage->{closure:Boy132\\PlayerCounter\\Filament\\Server\\Pages\\PlayersPage::table():132}()
#3 /var/www/pelican/vendor/filament/support/src/Concerns/HasCellState.php(89): Filament\\Support\\Components\\Component->evaluate()
#4 /var/www/pelican/vendor/filament/support/src/Concerns/HasCellState.php(486): Filament\\Tables\\Columns\\Column->{closure:Filament\\Support\\Concerns\\HasCellState::getState():87}()
#5 /var/www/pelican/vendor/filament/support/src/Concerns/HasCellState.php(87): Filament\\Tables\\Columns\\Column->cacheState()
#6 /var/www/pelican/vendor/filament/tables/src/Columns/ImageColumn.php(410): Filament\\Tables\\Columns\\Column->getState()
#7 /var/www/pelican/vendor/filament/support/src/Components/ViewComponent.php(122): Filament\\Tables\\Columns\\ImageColumn->toEmbeddedHtml()
#8 /var/www/pelican/vendor/filament/tables/src/Columns/Column.php(186): Filament\\Support\\Components\\ViewComponent->toHtml()
#9 /var/www/pelican/vendor/filament/tables/src/Columns/Layout/Split.php(49): Filament\\Tables\\Columns\\Column->renderInLayout()
#10 /var/www/pelican/vendor/filament/support/src/Components/ViewComponent.php(122): Filament\\Tables\\Columns\\Layout\\Split->toEmbeddedHtml()
#11 /var/www/pelican/vendor/filament/tables/src/Columns/Layout/Component.php(184): Filament\\Support\\Components\\ViewComponent->toHtml()
#12 /var/www/pelican/vendor/filament/tables/resources/views/index.blade.php(1184): Filament\\Tables\\Columns\\Layout\\Component->renderInLayout()
#13 /var/www/pelican/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php(37): include('...')
#14 /var/www/pelican/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php(38): Boy132\\PlayerCounter\\Filament\\Server\\Pages\\PlayersPage->{closure:Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine::evaluatePath():35}()
#15 /var/www/pelican/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->evaluatePath()
#16 /var/www/pelican/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php(16): Illuminate\\View\\Engines\\CompilerEngine->get()
#17 /var/www/pelican/vendor/laravel/framework/src/Illuminate/View/View.php(208): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->get()
#18 /var/www/pelican/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents()
#19 /var/www/pelican/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents()
#20 /var/www/pelican/vendor/filament/support/src/Components/ViewComponent.php(125): Illuminate\\View\\View->render()

Context

{
    "view": "/var/www/pelican/vendor/filament/tables/resources/views/index.blade.php",
    "data": []
}
Originally created by @Taubsie on GitHub (Dec 20, 2025). Original GitHub issue: https://github.com/pelican-dev/plugins/issues/10 While trying to open the "Players" page, when having installed the Player Counter plugin on a Minecraft server with someone online, I get a 500 error page. When no one is online, the page works fine. <img width="571" height="212" alt="Image" src="https://github.com/user-attachments/assets/49623e4f-c626-4d34-91bd-f11effe6aa3c" /> # Info from the Panel Logs ### Error Message `Undefined array key "name" {"view":,"userId":1,"exception":"[object] (Spatie\\LaravelIgnition\\Exceptions\\ViewException(code: 0): Undefined array key \"name\" at /var/www/pelican/plugins/player-counter/src/Filament/Server/Pages/PlayersPage.php:132)` --- ### Stacktrace ``` [stacktrace] #0 /var/www/pelican/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(258): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError() #1 /var/www/pelican/plugins/player-counter/src/Filament/Server/Pages/PlayersPage.php(132): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->{closure:Illuminate\\Foundation\\Bootstrap\\HandleExceptions::forwardsTo():257}() #2 /var/www/pelican/vendor/filament/support/src/Concerns/EvaluatesClosures.php(36): Boy132\\PlayerCounter\\Filament\\Server\\Pages\\PlayersPage->{closure:Boy132\\PlayerCounter\\Filament\\Server\\Pages\\PlayersPage::table():132}() #3 /var/www/pelican/vendor/filament/support/src/Concerns/HasCellState.php(89): Filament\\Support\\Components\\Component->evaluate() #4 /var/www/pelican/vendor/filament/support/src/Concerns/HasCellState.php(486): Filament\\Tables\\Columns\\Column->{closure:Filament\\Support\\Concerns\\HasCellState::getState():87}() #5 /var/www/pelican/vendor/filament/support/src/Concerns/HasCellState.php(87): Filament\\Tables\\Columns\\Column->cacheState() #6 /var/www/pelican/vendor/filament/tables/src/Columns/ImageColumn.php(410): Filament\\Tables\\Columns\\Column->getState() #7 /var/www/pelican/vendor/filament/support/src/Components/ViewComponent.php(122): Filament\\Tables\\Columns\\ImageColumn->toEmbeddedHtml() #8 /var/www/pelican/vendor/filament/tables/src/Columns/Column.php(186): Filament\\Support\\Components\\ViewComponent->toHtml() #9 /var/www/pelican/vendor/filament/tables/src/Columns/Layout/Split.php(49): Filament\\Tables\\Columns\\Column->renderInLayout() #10 /var/www/pelican/vendor/filament/support/src/Components/ViewComponent.php(122): Filament\\Tables\\Columns\\Layout\\Split->toEmbeddedHtml() #11 /var/www/pelican/vendor/filament/tables/src/Columns/Layout/Component.php(184): Filament\\Support\\Components\\ViewComponent->toHtml() #12 /var/www/pelican/vendor/filament/tables/resources/views/index.blade.php(1184): Filament\\Tables\\Columns\\Layout\\Component->renderInLayout() #13 /var/www/pelican/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php(37): include('...') #14 /var/www/pelican/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php(38): Boy132\\PlayerCounter\\Filament\\Server\\Pages\\PlayersPage->{closure:Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine::evaluatePath():35}() #15 /var/www/pelican/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->evaluatePath() #16 /var/www/pelican/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php(16): Illuminate\\View\\Engines\\CompilerEngine->get() #17 /var/www/pelican/vendor/laravel/framework/src/Illuminate/View/View.php(208): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->get() #18 /var/www/pelican/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #19 /var/www/pelican/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #20 /var/www/pelican/vendor/filament/support/src/Components/ViewComponent.php(125): Illuminate\\View\\View->render() ``` --- ### Context ``` { "view": "/var/www/pelican/vendor/filament/tables/resources/views/index.blade.php", "data": [] } ```
Author
Owner

@coderabbitai[bot] commented on GitHub (Dec 20, 2025):

📝 CodeRabbit Plan Mode

Generate an implementation plan and prompts that you can use with your favorite coding agent.

  • Create Plan
Examples


🧪 Issue enrichment is currently in open beta.

You can configure auto-planning by selecting labels in the issue_enrichment configuration.

To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

issue_enrichment:
  auto_enrich:
    enabled: false

💬 Have feedback or questions? Drop into our discord or schedule a call!

<!-- gh-comment-id:3677400434 --> @coderabbitai[bot] commented on GitHub (Dec 20, 2025): <!-- This is an auto-generated issue plan by CodeRabbit --> ### 📝 CodeRabbit Plan Mode Generate an implementation plan and prompts that you can use with your favorite coding agent. - [ ] <!-- {"checkboxId": "8d4f2b9c-3e1a-4f7c-a9b2-d5e8f1c4a7b9"} --> Create Plan <details> <summary>Examples</summary> - [Example 1](https://github.com/coderabbitai/git-worktree-runner/issues/29#issuecomment-3589134556) - [Example 2](https://github.com/coderabbitai/git-worktree-runner/issues/12#issuecomment-3606665167) </details> --- --- <details> <summary> 🧪 Issue enrichment is currently in open beta.</summary> You can configure auto-planning by selecting labels in the issue_enrichment configuration. To disable automatic issue enrichment, add the following to your `.coderabbit.yaml`: ```yaml issue_enrichment: auto_enrich: enabled: false ``` </details> 💬 Have feedback or questions? Drop into our [discord](https://discord.gg/coderabbit) or [schedule a call](https://calendly.com/parth-coderabbit/issues-feedback)!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/plugins#8
No description provided.