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

$pages are not defined in index() but used in the view. You should probably turn on debug in the .env to find this.

0
Solution

tkprocat said:

$pages are not defined in index() but used in the view. You should probably turn on debug in the .env to find this. Thanks, with your remind, i find that the extend command in the blade file caused the problem: @extends('app') after defined the app.blade.php, it works.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

cys cys Joined 21 Aug 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.