SGDInstitute / enterprise

3 stars 2 forks source link

Cannot view 2021 orders #124

Closed techenby closed 1 year ago

techenby commented 1 year ago

ErrorException

Undefined array key "slug"

:dart: Illuminate\Foundation\Bootstrap\HandleExceptions::handleError :page_facing_up: /home/forge/apps.sgdinstitute.org/resources/views/livewire/app/events/modals.blade.php

17   </button>
18   @foreach ($event->settings->tabs ?? [] as $modal)
19*  <button wire:click="showPolicyModal('{{ $modal['slug'] }}')" class="flex items-center w-full px-6 py-4 space-x-4 text-gray-900 bg-gray-50 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700 dark:text-gray-200">
20       <x-dynamic-component :component="$modal['icon']" class="w-6 h-6 text-gray-600 dark:text-gray-400" />
21       <span>{{ $modal['name'] }}</span>

Open in Flare

flare-error-tracker[bot] commented 1 year ago

Because you closed this issue the following error in Flare was marked as resolved: Undefined array key "slug"