Support the ongoing development of Laravel.io →
posted 8 years ago
Blade
Last updated 2 years ago.
0

Could you provide us your template flow?

From your question, I can understand these:

  1. You have _latest.blade.php inside partials folder
  2. Your parent template is include-ing partials/_latest, passing $title variable
  3. Your partials/_latest is receiving the variable $title

You can re-check here if you have not : https://laravel.com/docs/5.3/blade#including-sub-views

What I can tell is, you put {{ $title }} in some other files. This is the probable issue you are having. Extra $title variable laying around in unnecessary file.

Try rechecking all your other template file, I am sure there is extra {{ $title }} around. You can check which file has that extra variable by reading carefully the debug message.

Cheers.

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

kadnan kadnan Joined 30 Mar 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.