{"class":"Spatie\\LaravelIgnition\\Exceptions\\ViewException","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","line":829,"message":"SQLSTATE[42703]: Undefined column: 7 ERROR:  column \"hasDiscount\" does not exist\nLINE 1: ...estaurant_uuid\" and \"companies\".\"uuid\" = $1) and (\"hasDiscou...\n                                                             ^ (Connection: pgsql, SQL: select count(*) as aggregate from \"orders\" where exists (select * from \"companies\" inner join \"restaurants\" on \"restaurants\".\"company_uuid\" = \"companies\".\"uuid\" where \"restaurants\".\"uuid\" = \"orders\".\"restaurant_uuid\" and \"companies\".\"uuid\" = 99ffad68-5416-46fb-8620-2312be258423) and (\"hasDiscount\" = 1))","context":{"request_id":"01JCN2B00WGCTKR0N747HV66S3","view":{"view":"\/var\/www\/html\/vendor\/filament\/tables\/resources\/views\/index.blade.php","data":[]},"userId":"99ffac3d-0e6b-47c8-a61c-f61c33d62e3b"},"trace":[{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","line":783},{"file":"\/var\/www\/html\/vendor\/tpetry\/laravel-postgresql-enhanced\/src\/PostgresEnhancedConnection.php","line":206},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","line":414},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php","line":2751},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php","line":2740},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php","line":3294},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php","line":2739},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php","line":2904},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php","line":2863},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Eloquent\/Builder.php","line":922},{"file":"\/var\/www\/html\/vendor\/filament\/tables\/src\/Concerns\/CanPaginateRecords.php","line":33},{"file":"\/var\/www\/html\/vendor\/filament\/tables\/src\/Concerns\/HasRecords.php","line":100},{"file":"\/var\/www\/html\/vendor\/filament\/tables\/src\/Table\/Concerns\/HasRecords.php","line":66},{"file":"\/var\/www\/html\/vendor\/filament\/tables\/resources\/views\/index.blade.php","line":63},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/ExtendBlade\/ExtendedCompilerEngine.php","line":37},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/ExtendBlade\/ExtendedCompilerEngine.php","line":38},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":72},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/ExtendBlade\/ExtendedCompilerEngine.php","line":16},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","line":207},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","line":190},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","line":159},{"file":"\/var\/www\/html\/vendor\/filament\/support\/src\/Components\/ViewComponent.php","line":106},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/helpers.php","line":117},{"file":"\/var\/www\/html\/vendor\/filament\/filament\/resources\/views\/resources\/pages\/list-records.blade.php","line":14},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/ExtendBlade\/ExtendedCompilerEngine.php","line":37},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/ExtendBlade\/ExtendedCompilerEngine.php","line":38},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":72},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/ExtendBlade\/ExtendedCompilerEngine.php","line":16},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","line":207},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","line":190},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","line":159},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/HandleComponents\/HandleComponents.php","line":245},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/HandleComponents\/HandleComponents.php","line":289},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/HandleComponents\/HandleComponents.php","line":235},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/HandleComponents\/HandleComponents.php","line":111},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/LivewireManager.php","line":96},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Mechanisms\/HandleRequests\/HandleRequests.php","line":90},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":205},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":806},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":144},{"file":"\/var\/www\/html\/app\/Http\/Middleware\/TimezoneConfiguration.php","line":30},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Middleware\/AddLinkHeadersForPreloadedAssets.php","line":19},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/inertiajs\/inertia-laravel\/src\/Middleware.php","line":87},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/app\/Http\/Middleware\/ApplyWebTenancyScopes.php","line":60},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/app\/Http\/Middleware\/SelectedLanguage.php","line":32},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","line":50},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/VerifyCsrfToken.php","line":78},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php","line":49},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":121},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":64},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/AddQueuedCookiesToResponse.php","line":37},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/EncryptCookies.php","line":67},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":119},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":805},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":784},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":748},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":737},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php","line":200},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":144},{"file":"\/var\/www\/html\/vendor\/livewire\/livewire\/src\/Features\/SupportDisablingBackButtonCache\/DisableBackButtonCacheMiddleware.php","line":19},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/app\/Http\/Middleware\/UseRequestId.php","line":22},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/ConvertEmptyStringsToNull.php","line":27},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/TrimStrings.php","line":36},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/ValidatePostSize.php","line":27},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/PreventRequestsDuringMaintenance.php","line":99},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Middleware\/HandleCors.php","line":49},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Middleware\/TrustProxies.php","line":39},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":119},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php","line":175},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php","line":144},{"file":"\/var\/www\/html\/public\/index.php","line":51},{"file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/resources\/server.php","line":16}],"line_preview":{"820":"        \/\/ message to include the bindings with SQL, which will make this exception a","821":"        \/\/ lot more helpful to the developer instead of just the database's errors.","822":"        catch (Exception $e) {","823":"            if ($this->isUniqueConstraintError($e)) {","824":"                throw new UniqueConstraintViolationException(","825":"                    $this->getName(), $query, $this->prepareBindings($bindings), $e","826":"                );","827":"            }","828":"","829":"            throw new QueryException(","830":"                $this->getName(), $query, $this->prepareBindings($bindings), $e","831":"            );","832":"        }","833":"    }","834":"","835":"    \/**","836":"     * Determine if the given database exception was caused by a unique constraint violation.","837":"     *","838":"     * @param  \\Exception  $exception","839":"     * @return bool"},"hostname":"cd324014715c","user":{"id":"99ffac3d-0e6b-47c8-a61c-f61c33d62e3b","name":"NFQ","email":"admin@nfq.lt"},"occurrences":4}