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

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
2
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
13
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
31
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
3
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
1
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
1
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
39
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
1
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
4
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
35
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
1
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
8
Last reply by Glukinho 3mos ago
chithira-kumar's avatar

Laravel showing "403 Forbidden" after assigning roles — works only after cache clear

Hi everyone, Recently we are facing an issue in our Laravel application related to role-based access. Scenario: A new user registers successfully. Admin assigns roles/permissions to that user (roles are correctly saved in the database). When the user logs in immediately after the role assignment, the system shows a 403 Forbidden error. If we run cache clear commands (php artisa

chithira-kumar's avatar
chithira-kumar's avatar Glukinho3mos agoLaravel
1
4
Last reply by Glukinho 3mos ago
lararara's avatar

Disabling fortify registeration in Laravel 12 Vue starter kit with Wayfinder gives build errors /resources/js/routes/verification

Using Laravel 12, Vue Starter kit, Laravel auth with Wayfinder will give build errors after removing fortify features, like registration. config/fortify.php:147 'features' => [ // Features::registration(), Features::resetPasswords(), Features::emailVerification(), Features::twoFactorAuthentication([ 'confirm' => true,

lararara's avatar
lararara's avatar lararara3mos agoLaravel
0
1
wemersonrv's avatar

Laravel Pint is not properly indenting custom Blade directives

My Laravel Pint setup is not indenting some custom Blade directives correctly. I am using custom Blade directives that behave like structural blocks (similar to @if, @foreach, etc.). However, when running Pint, the indentation inside these directives is removed or flattened. Here is a simplified example. Original Blade code (properly indented) <div class="mt-8 grid grid

wemersonrv's avatar
wemersonrv's avatar wemersonrv3mos agoGeneral
2
2
Last reply by wemersonrv 3mos ago
iftekhs's avatar

How to turn uploaded svg image into base64 png image?

Hi, I am receiving an SVG image from the user and I want to turn that image into a base64 encoded image. how can I do that?

iftekhs's avatar
iftekhs's avatar Specialday...3mos agoCode Review
8
1
Last reply by Specialdaydeal 3mos ago
amitsolanki24_'s avatar

Convert svg to png/jpeg/jpg/webp

How can I convert svg to (png,jpeg,jpg and webp) in any mention format using pure javascript? Anyone have any idea?

amitsolanki24_'s avatar
amitsolanki24_'s avatar Specialday...3mos agoJavaScript
5
1
Last reply by Specialdaydeal 3mos ago
shez1983's avatar

Dusk - env file is overwriiten but i still see local as env?

so i have created an .env.dusk.local, which replaces .env during dusk tests. I can see that happen if i look at the folder in my IDE. The issue is when i want to check the env, it always returns local.. when it should return testing (which is what i have in my dusk env).

shez1983's avatar
shez1983's avatar shez19833mos agoTesting
0
1
madprabh's avatar

Can I invoke AI SDK this way?

Het Folks, Can I invoke AI ADK in this manner. I need specific providers with specific models. I am using it as an associative array. $response = (new CustomResearch) ->prompt( 'Here are the instructions...\n\n' . $prompt . ' and the data:' . $jsonData, provider: [ 'openai' =>

madprabh's avatar
madprabh's avatar LaryAI3mos agoLaravel
1
1
Last reply by LaryAI 3mos ago
FireBlade's avatar

Images not showing in Laravel Docker production following this guide: https://docs.docker.com/guides/frameworks/laravel/production-setup/#create-a-dockerfile-for-nginx-production

This is my NGINX production Dockerfile : FROM debian AS builder # Install Node.js and build tools RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ nodejs \ npm \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Set working directory WORKDIR /var/www # Copy Laravel application code COPY ./src/

FireBlade's avatar
FireBlade's avatar simotion3mos agoDevOps
3
5
Last reply by simotion 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.