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

Abdulbarict's avatar

InvalidArgumentException: No hint path defined for [layouts] (works locally but fails on server)

I am getting this error on my production server, but the same code works perfectly on my local environment. Error: InvalidArgumentException No hint path defined for [layouts]. vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:111 Things I already tried php artisan view:clear php artisan cache:clear php artisan config:clear Any help would be appreciated.

Abdulbarict's avatar
Abdulbarict's avatar Jsanwo643mos agoLivewire
3
18
Last reply by Jsanwo64 3mos ago
jswoolf01's avatar

Query on parent-table condition or child-table condition

Situation: I have three tables: Product (inventory products), Flags (indicator flags that show 'something needs attention'), and Rules (rules for creating Flags). The relationship chain goes product->flags->rules. Each product can have many flags, while each flag belongs to one rule (but one rule can have many flags). We're transitioning to a new way of defining and han

jswoolf01's avatar
jswoolf01's avatar jswoolf013mos agoEloquent
3
1
Last reply by jswoolf01 3mos ago
SiNi_Si's avatar

Seo ai

Hi everyone, looking for search ranking for “motorcycle paint shop”. I know this group is global and want to test a site I have testing with. I built a new site building tool with my seo Ai, any input to see where a global listing would really help. Site I would like to know is “Probike Custom Cycles” Thanks and let me know your country please and number down on google or othe

SiNi_Si's avatar
SiNi_Si's avatar CapPerez3mos agoFeedback
4
3
Last reply by CapPerez 3mos ago
Mikegk's avatar

Localized routes like .../en/

Hi guys, Im searching for a solution to enable routing like: MyDomain.com/en/home MyDomain.com/de/home I found this one here: https://laracasts.com/discuss/channels/laravel/how-to-prefixing-in-routes-for-localization But, there's a function called array_prepend, that I do not know or found in a current Laravel (8) Version (it's also not a native PHP function though). Thanks for

Mikegk's avatar
Mikegk's avatar Richard-pr...3mos agoLaravel
2
1
Last reply by Richard-pro 3mos ago
enadabuzaid's avatar

Laravel PDF (Spatie) + Puppeteer + Forge: “No usable sandbox” error in production

Hey folks 👋 I’m using the spatie/laravel-pdf package (which wraps Browsershot + Puppeteer) to generate PDFs in my Laravel 12 project. It works perfectly on my local machine, but when I deploy it to my Forge provisioned Ubuntu 24.04 server, I get this error when trying to generate a PDF: Error: Failed to launch the browser process! [xxxx/FATAL:zygote_host_impl_linux.cc(132)] No

enadabuzaid's avatar
enadabuzaid's avatar cmackinlay3mos agoLaravel
5
16
Last reply by cmackinlay 3mos ago
wordxpression's avatar

Working with multiple screens... and one in portrait mode

Just wanting to share an experience with my 'multiple screen working'. For already a few years, even do not remember how long, I work 'multiple screen' for both my video editing work (started with using MultiScreen for that) and my programming. And I would not go back to a single screen. I even have a foldable screen to use in combination with my laptop. Recently however one of

wordxpression's avatar
wordxpression's avatar Glukinho3mos agoGeneral
2
2
Last reply by Glukinho 3mos ago
earmsby's avatar

adding icon column to table widget

I have a widget with this code: namespace App\Filament\Widgets; use Filament\Actions\BulkActionGroup; use Filament\Support\Icons\Heroicon; use Filament\Tables\Columns\IconColumn; use Filament\Tables\Columns\TextColumn; use Filament\Tables\Table; use Filament\Widgets\TableWidget; use App\Models\Publication; class PendingPrintJobs extends TableWidget { protected static ?int

earmsby's avatar
earmsby's avatar earmsby3mos agoFilament
3
16
Last reply by earmsby 3mos ago
dan3460's avatar

Failed to Install PHP 8.4 on Ubuntu.

After several hours of trying to install php 8.4 on a new cloud instance of Ubuntu (Digital Ocean Droplet basic) i wasn't able to do so. I'm sure i cannot be the only one with this problem but could not find any article on Goggle. Trying to update apt with ppa:ondrej/php i come to a message: https://ppa.launchpadcontent.net/ondrej/php/ubuntu questing release' does not have a re

dan3460's avatar
dan3460's avatar kupce3mos agoServers
7
285
Last reply by kupce 3mos ago
vincent15000's avatar

Attacks on a personal project developed with Livewire

Hello, For some hours, a personal project is attacked and the logs give me this message. [2026-02-09 15:36:56] production.ERROR: Class "Laravel\Prompts\Terminal" not found {"exception":"[object] (Error(code: 0): Class \"Laravel\\Prompts\\Terminal\" not found at /homepages/2/d877403005/htdocs/ miam/vendor/livewire/livewire/src/Features/SupportM

vincent15000's avatar
vincent15000's avatar kupce3mos agoLaravel
27
6
Last reply by kupce 3mos ago
aidanwatt's avatar

Repeater simple richeditor bug

I've found a bug that seems to have been present since v4. In a form, if you add a repeater, then make it simple, and add a richeditor into it. Stick some data in, save it, then refresh the page, the data doesn't show. Looking in the DB, the data has saved as a flat array. Looking in the console, TipTap has an error and it looks like it's expecting the data to be keyed by what

aidanwatt's avatar
aidanwatt's avatar aidanwatt3mos agoFilament
2
1
Last reply by aidanwatt 3mos ago
vincent15000's avatar

Cookie consent

Hello, I'm used to use https://www.axept.io/ to handle cookies. But I just noticed that Spatie has also a package for cookie consent optimized for Laravel. https://github.com/spatie/laravel-cookie-consent And Spatie suggest to consider these alternatives if we need more configuration options. whitecube/laravel-cookie-consent statikbe/laravel-cookie-consent devrabiul/laravel-co

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoGeneral
3
4
Last reply by vincent15000 3mos ago
jaracas's avatar

Add logic to redirect to different pages on login in Laravel 12 using the built-in auth?

I'm struggling to figure out how to add logic to redirect users after they login to different pages depending on whether they have data in another table or not. I need to be able to redirect users after they login using the Laravel built-in auth (Vue starter kit not using WorkOS). Where exactly is the logic that determines where the user is sent after logging in? Right now no m

jaracas's avatar
jaracas's avatar maywz3mos agoLaravel
10
2,175
Last reply by maywz 3mos ago
BlendM's avatar

Job Position

Hi everyone! As much as random and unrelated this might be, I am still a member of the community and I’am seeking for a job position, currently! I am a very self driven full stack developer mainly using PhP/Laravel and Javascript/React and I have over 4 years of experience in real world companies, including an Ecommerce ecosystem. If anyone is in need of a good developer and a

BlendM's avatar
BlendM's avatar LaryAI3mos agoLaravel
1
1
Last reply by LaryAI 3mos ago
danichangt's avatar

The GET method is not supported for route livewire/update. Supported methods: POST.

I have an application with Laravel 10 and Livewire 3. I'm using Livewire pagination specifically links('pagination::tailwind'), I don´t knot why if I use "links()" all work fine excepet the background color of the current page. The bg only works if I use "links('pagination::tailwind'), but with this way I have this error when I open and close a modal window, I th

danichangt's avatar
danichangt's avatar brunopitho...3mos agoLivewire
12
1
Last reply by brunopithon8 3mos ago
earmsby's avatar

problem creating relation manager

I have this model: namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class AltWorkId extends Model { protected $fillable = [ 'work_id', 'alt_work_entity_id', 'alt_id_number' ]; public function work(): BelongsTo { return $this->belongsTo(Work::class); }

earmsby's avatar
earmsby's avatar earmsby3mos agoFilament
2
1
Last reply by earmsby 3mos ago
anjanesh's avatar

php artisan migrate attempted running from the first migration file instead of the last one(s)

When I ran php artisan migrate on my server why didn't it automatically run the last migration file ? Why did it try starting from the first one instead ? I checked the database - all but the last one were listed in the migrations table. INFO Running migrations. 2014_10_12_000000_create_users_table .........................................................................

anjanesh's avatar
anjanesh's avatar anjanesh3mos agoLaravel
5
1
Last reply by anjanesh 3mos ago
MThomas's avatar

Where to find the Building Progressive Web Apps Series?

I found this repository online, but could not find the corresponding laracasts series: https://github.com/laracasts/Building-Progressive-Web-Apps-with-Laravel Does anyone know where to find this?

MThomas's avatar
MThomas's avatar MThomas3mos agoGeneral
2
1
Last reply by MThomas 3mos ago
vincent15000's avatar

Fortify and password confirmation

Hello, I'm using Fortify to implement 2FA in an application. Activate or deactivate 2FA needs to type the account password to confirm the action. But => I click on the activation button, the password confirmation form is displayed and then, instead of being redirected to the next route with the QR code to confirm the 2FA configuration, I am redirected to the previous route a

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

livewire 4 mfc

Well please im little bit confused. when i create an sfc component i wont get the data correct in the blade file? what do i wrong? $this->countTotal wont be displayed? <div class="widgets-icons bg-light-success text-success ms-auto"> <i class="fa-sharp fa-thin fa-people-group"></i> &l

alexteie's avatar
alexteie's avatar tomcastill...3mos agoLivewire
2
2
Last reply by tomcastillo 3mos ago
foantje's avatar

livewire 404 update problem

I updated from livewire 2 -> 3. But i have a problem with livewire:update getting a 404 I have a simple component with 2 function to increase or decrease a number with wire:click. But when i click the button it opens a modal with 404 page. In my console it shows livewire:update 404. If i dd('test') on the mount() i do see the result... In the config i changed this: 'layout'

foantje's avatar
foantje's avatar tomcastill...3mos agoLivewire
4
1
Last reply by tomcastillo 3mos ago
laracoft's avatar

Laravel Vite 7 `npm run dev` High CPU load

When I run npm run dev, 2 of more cores shoot to 100% So, I made the file watching use polling every 10 seconds, but still 100% on 2 cores How do debug?

laracoft's avatar
laracoft's avatar Glukinho3mos agoVite
1
1
Last reply by Glukinho 3mos ago
ella-stinnes's avatar

Policy for belongsToMany Pivot Table

projects project_user users I want to create an authorization policy for the 'project_user' pivot table to define who is able to assign projects to a given user. At the moment, I don't have a ProjectUser model class. Will I need to create this for the ProjectUserPolicy?

ella-stinnes's avatar
ella-stinnes's avatar ella-stinn...3mos agoLaravel
9
1
Last reply by ella-stinnes 3mos ago
tariqbilal's avatar

Issue: Horizon Dashboard Not Updating in Real-Time - Requires Hard Reload

Description The Horizon dashboard is functioning but does not update in real-time. When jobs are processed or new jobs arrive, the dashboard does not reflect changes automatically. I have to perform a hard reload (Ctrl+Shift+R / Cmd+Shift+R) to see updated job counts, completed jobs, and current workload. The dashboard remains "Active" but static until manually refre

tariqbilal's avatar
tariqbilal's avatar tariqbilal3mos agoLaravel
0
1
FounderStartup's avatar

How to get a Seo friendly url for a search page

Can I get a SEO friendly url for a search result page ? For example if I search for properties , can I show a Seo friendly url ? Its something I search for mobiles on amazon and see a search result page with user " ......./mobiles-below-$200/

FounderStartup's avatar
FounderStartup's avatar JussiManni...3mos agoLaravel
3
1
Last reply by JussiMannisto 3mos ago
JakeStockwell's avatar

Cashier Composer Install

Hi Laracasters! I'm building an SPA with L12 Inertia/React and want to implement payments so am looking at Cashier. Following the Laravel docs & Andre's tutorial I should install with composer require but when I do this I get a slew of errors. Am I expected to work through these errors or is there something I'm missing? Thanks in advance & hope all's well! ;-)

JakeStockwell's avatar
JakeStockwell's avatar JakeStockw...3mos agoGuides
6
20
Last reply by JakeStockwell 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.