
Cannot end a section without first starting one
You have to start the section in blade file before ending it. You got the error Cannot end a section without first starting one when you use @endsection without starting it with @section('content').
Answers 1
-
Start @section('content') in your blade file
@section('content') //Your content @endsection
0You have to start the section with @section('content') and end the section block with @endsection in your blade template file.
Random Code Snippet Queries: Laravel
- Get latest record by created at in Laravel
- How to upload image in laravel 8
- Laravel insert query not working
- Target class [admin] does not exist.
- The use statement with non-compound name 'Auth' has no effect
- Order by multiple columns in Laravel
- Comment .env file in laravel
- Extra Filter Query on Relationships in Laravel
- Create project table with model and migration
- How to get single column value in laravel
- How to display pivot table column value in laravel
- Declaration of App\Models\Post::sluggable() must be compatible with Cviebrock\EloquentSluggable\Sluggable
- How to send ID to another page in Laravel
- How to add class to tr in table using foreach in laravel
- How to delete record in Laravel with ajax
- How to get data from two tables in laravel
- If condition in foreach loop in laravel
- Update record after find method in lavavel
- Route group with URI prefix using middleware and route name prefixes
- How to pass variable from controller to model in Laravel
- Create a record if not exist in laravel
- How to get only time from created_at in laravel
- Calculate age from date of birth in Laravel
- Recursive function example code PHP Laravel
- How to upload multiple images after preview in laravel using cropper js