Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

ZoD3V's avatar

Laravel Filament server error 500

Hello i wanna ask i deployed my Laravel filament and i have 10 resources in filament and the project using CI/CD and have set the memory limit to 2048M but I still get a 500 server error when trying to access /admin. Does anyone know why? this is my dockerfile RUN echo "memory_limit=2048M" > /usr/local/etc/php/conf.d/99-custom.ini laravel version v11.31 filament v

ZoD3V's avatar
ZoD3V's avatar martinbean3mos agoLaravel
6
15
Last reply by martinbean 3mos ago
vincent15000's avatar

Upload error after upgrading from Livewire 2 to Livewire 3

Hello, I had these listeners with Livewire 2. protected $listeners = [ 'upload:errored' => 'fireUploadError', 'upload:finished' => 'fireUploadSuccess', ]; I don't find any equivalent with Livewire 3. Any idea how to listen to these events with Livewire 3 ? Thanks a lot ;). V

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLivewire
1
1
davy_yg's avatar

Class "session" not found

In my blade I have this codes: @if($message = session::get('flash')) <div class="alert alert-success"> {{ $message }} </div> @endif and I get the following error: Class "session" not found Should I add on top of the alert ? It works in my previous laravel without use Session in my view.

davy_yg's avatar
davy_yg's avatar Shivamyada...3mos agoLaravel
2
1
Last reply by Shivamyadav 3mos ago
codeXX's avatar

Laravel on Ubuntu 24.0 Docker - PHP-FPM + NGINX - PHP-FPM gives /index.php 404 error

I have created a git repo for this setup here. The folder structure I have is: Project Folder |- docker-laravel |- api I have a docker setup with Laravel Application that works fine on local Mac however, I am facing issues with the deployment on Ubuntu server 24.0. All my paths are correct All my volumes are mapped correctly I checked the file location which exists I h

codeXX's avatar
codeXX's avatar codeXX3mos agoDevOps
1
11
Last reply by codeXX 3mos ago
earmsby's avatar

FileUpload field on Filament infolist

I have a Filament form with this upload field: FileUpload::make('contract_pdf') ->disk('public') ->directory('contract_pdfs') ->maxSize(200000) ->visibility('public') I set up the symlink using php artisan storage:link and that seems to be working just fine. My infolist for this field is: TextEntry::make(

earmsby's avatar
earmsby's avatar earmsby3mos agoFilament
3
8
Last reply by earmsby 3mos ago
vincent15000's avatar

Security vulnerabilities

Hello, I just noticed this. For information ... composer audit Found 2 security vulnerability advisories affecting 2 packages: +-------------------+----------------------------------------------------------------------------------+ | Package | laravel/framework | | Severity | medium

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLaravel
5
5
Last reply by vincent15000 3mos ago
orphikkkk's avatar

419 Page Expired error on every network request.

My Laravel project was running completely fine and then I had to re setup the project in my laptop so I deleted the project directory and cloned the project in a new directory. After that I get 419 page expired error on every network request. It is showing that error in the network tab when any Livewire network request is triggered and also on any form submission eg. login form

orphikkkk's avatar
orphikkkk's avatar vidalramir...3mos agoLaravel
15
5,282
Last reply by vidalramirezjesus63-ops 3mos ago
Foks's avatar

Target class [env] does not exist.

Hi! I'm running on PHP 8, Laravel 8.37 (With Laravel Telescope & Horizon). The application is working just fine, but when I try to run my feature tests this comes Target class [env] does not exist. And all my test fails

Foks's avatar
Foks's avatar pinsard3mos agoLaravel
16
2
Last reply by pinsard 3mos ago
theUnforgiven's avatar

Forge - 502 Bad Gateway

Although I have the following set in my config file. max_execution_time = 900 ; Maximum amount of time each script may spend parsing request data. It's a good ; idea to limit this time on productions servers in order to eliminate unexpectedly ; long running scripts. ; Note: This directive is hardcoded to -1 for the CLI SAPI ; Default Value: -1 (Unlimited) ; Development Value:

theUnforgiven's avatar
theUnforgiven's avatar philippger...3mos agoForge
32
1
Last reply by philippgerbig 3mos ago
thesnakebite's avatar

Video playback speeds in Laracasts

Hi! I noticed the 0.5x and 0.75x playback speeds were removed from the new player. As a non-native English speaker, slower speeds are essential for following along with subtitles while coding. Would it be possible to bring them back? Thanks for the great content!

thesnakebite's avatar
thesnakebite's avatar thesnakebi...3mos agoFeedback
3
1
Last reply by thesnakebite 3mos ago
romit_curitics's avatar

Datepicker in filament table

I am building a table in which I can add/edit/delete the records. I am facing issue when date field is showing datepicker(simple html5) is not working. ***filament automatically adding disabled thing due to which datepicker is not working, help me to make the following code to work - filename - UserResource.php <?php namespace App\Filament\Resources\Users; use App\Filament

romit_curitics's avatar
romit_curitics's avatar romit_curi...3mos agoFilament
0
1
tomasnorre's avatar

Authentication, Email verification and forgotten password

Hi, I have a Laravel 12 application that I have build with no starter kit. I have right now simple registration and login forms. My next steps are to build, email verification into the registration process, and then add the forgotten password functionality. I have been looking a little around. If I start a new Laravel 12 application, is asking for React, Vue or Livewire starter

tomasnorre's avatar
tomasnorre's avatar tomasnorre3mos agoFeedback
3
11
Last reply by tomasnorre 3mos ago
carina312's avatar

download excel-file

Hi guy's, I want to download an excel-file stored in storage/app/private/import via controller-function but everytime i open the downloaded-file I get an error: 'File-Type does not match file-extension'. public function download($path) { $disk = Storage::disk('local'); return Storage::download($path); } I have this problem with .xls and .xlsx Files Can you help me?

carina312's avatar
carina312's avatar Glukinho3mos agoLaravel
8
1
Last reply by Glukinho 3mos ago
rostro-dev's avatar

Illuminate\Http\Request empty when using DELETE,PUT,PATCH verbs

Cashier Stripe Version 16 Laravel Version 12.11 PHP Version 8.4 Database Driver & Version postgres Description When upgrading to laravel cashier 16+ it triggers an update of symfony components and maybe this is laravel specific but the \Illuminate\Http\Request does not have values for $_POST when using DELETE,PUT,PATCH verbs. This causes an error when CSRF token goes to be

rostro-dev's avatar
rostro-dev's avatar rostro-dev3mos agoLaravel
0
3
OndrejOndrej's avatar

inRandomOrder() is stupid naming

Eloquent has: orderBy(xxx) orderByDesc(xxx) MySQL itself has: ORDER BY ORDER BY RANDOM So one would logically assume that Eloquent would have orderByRandom(), or at the very least an alias. Nope - page 500 every single time I’m trying to order by random. Whoever came up with inRandomOrder() must have been a pure genius.

OndrejOndrej's avatar
OndrejOndrej's avatar kevinbui3mos agoEloquent
5
1
Last reply by kevinbui 3mos ago
Ravidev's avatar

Playback Speed

Hi @LaracastTeam, New player is good. But, I am missing Playback Speed of 0.75X. If possible please bring it back. Thanks.

Ravidev's avatar
Ravidev's avatar Ravidev3mos agoFeedback
2
1
Last reply by Ravidev 3mos ago
Shivamyadav's avatar

How to push the failed job from the custom table to the queue?

My app service provider queue event store the failed jobs to the custom table Queue::failing(function (JobFailed $event) use ($queueJobStatusRepository) { /** Extracting the current job class name */ $job = $event->job; $payload = $job->payload(); $action = $payload['displayName']; /** Extracting the current job

Shivamyadav's avatar
Shivamyadav's avatar kevinbui3mos agoLaravel
10
4
Last reply by kevinbui 3mos ago
AnatoliyViktorovich's avatar

Laravel and Telegram bot

I'd like to build a Laravel app that would interact with Telegram (send messages to my clients, get messages from them, store them in database, etc). I'm a total noob in that so I would be very grateful if you could give me a link to a good tutorial.

AnatoliyViktorovich's avatar
AnatoliyViktorovich's avatar danielhe4r...3mos agoLaravel
4
89
Last reply by danielhe4rt 3mos ago
vincent15000's avatar

How to force update Livewire assets while upgrading from version 2 to 3 ?

Hello, I just had a dysfunction while upgrading from Livewire 2 to 3. I have published the assets and now it works fine. But when installing a new Livewire 3 application, the assets are not published and it works fine. So there is probably another way than publishing the assets ? What do you suggest me ? Thanks a lot ;). V

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLivewire
2
4
Last reply by vincent15000 3mos ago
vincent15000's avatar

Upgrade from Livewire 2 to Livewire 3

Hello, I'm upgrading an old personal project. And I have this problem. It's my Entreprise select component. <select id="entreprise_id" wire:model.live="entreprise_id" name="entreprise_id" @if ($readonly) disabled @endif> <option value="">Choisir une entreprise</option> @foreach ($entreprises as $entre

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLivewire
2
1
Last reply by vincent15000 3mos ago
ian_h's avatar

Video comments not appearing

@JeffreyWay I posted a reply in the comments on this video (it was a reply to the reply to my OP). The comments count says 4 but there's only 3 visible.. seems my 2nd post there is hidden somewhere?

ian_h's avatar
ian_h's avatar ian_h3mos agoFeedback
2
1
Last reply by ian_h 3mos ago
FireBlade's avatar

Ugly welcome.blade.php page in production following this guide- https://docs.docker.com/guides/frameworks/laravel/production-setup/#create-a-dockerfile-for-nginx-production

I have a single-page app using only the welcome.blade.php file: <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ config('app.name', 'La

FireBlade's avatar
FireBlade's avatar Tray23mos agoCode Review
5
8
Last reply by Tray2 3mos ago
k_nadam's avatar

Dynamic assets preloading (LCP issue)

Hello everyone, Say we are working on a Laravel + Inertiajs + Vue application and we have an article page. this article page contains a cover image that is being shown above the fold... so on Pagespeed test it shows LCP issue from this image. How can we potentially solve it. Here are things I tried: 1- Putting fetchpriority="high" loading="eager" on the <

k_nadam's avatar
k_nadam's avatar k_nadam3mos agoLaravel
0
1
ezmiks's avatar

Zod object to plain object (with default values)

Is there a way for zodobject to be converted to a plain object? Like, I have the following schema: const schema = z.object({ name: z.string().default(someResource?.name ?? null), email: z.email().optional().default(someResource?.email ?? null), address: z.string().optional().default(someResource?.address ?? null), }) and I have tried: schema.parse({}) and it seems like it g

ezmiks's avatar
ezmiks's avatar ezmiks3mos agoVue
0
3
laracoft's avatar

How to have multiple handlers for events?

In one of package's service provider, I have Event::listen(MessageSending::class, MyHandler::class); Then I added https://github.com/jdavidbakr/mail-tracker which also tries to listen to MessageSending (https://github.com/jdavidbakr/mail-tracker/blob/96244f621f1201385a2645152cabb414b2a7fde3/src/MailTrackerServiceProvider.php#L36), however, only MyHandler is called. How do I ma

laracoft's avatar
laracoft's avatar Glukinho3mos agoLaravel
10
1
Last reply by Glukinho 3mos ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.