Fatal error: Method Xiaoler\Blade\View::__toString() must not throw an exception, caught InvalidArgumentException: View [master] not found. in application/libraries/Blade.php on line 0
A PHP Error was encountered
Severity: Error
Message: Method Xiaoler\Blade\View::__toString() must not throw an exception, caught InvalidArgumentException: View [master] not found.
Filename: libraries/Blade.php
Line Number: 0
Backtrace:
layout/master.blade.php file codes
<html>
<head>
<title>App Name - @yield('title','test')</title>
</head>
<body>
@section('sidebar')
This is the master sidebar.
@show
<div class="container">
@yield('content')
</div>
</body>
</html>
welcome.blade.php file codes
@extends('layouts.master')
@section('title', 'Page Title')
@section('sidebar')
@parent
<p>This is appended to the master sidebar.</p>
@endsection
@section('content')
<p>This is my body content.</p>
@endsection
error codes
layout/master.blade.php file codes
welcome.blade.php file codes