I try to load admin dashboard on localhost and this the error i get on my ecommerce project.
ArgumentCountError Too few arguments to function Illuminate\View\Factory::startSection(), 0 passed in C:\xampp\htdocs\laravel\Ecommerce\storage\framework\views\acd890c98309210d45617b3d87cde84379fbb9c2.php on line 9 and at least 1 expected (View: C:\xampp\htdocs\laravel\Ecommerce\resources\views\admin\index.blade.php)
acd890c98309210d45617b3d87cde84379fbb9c2.php
Any assistant on this will be much appreciated
CodePudding user response:
Your section should be @section('content')
and end it with @endsection
only
CodePudding user response:
Don't forget @endsection to end your section
@section('content')
//Your content
@endsection