I have recently been developing custom post types and got this error. How do I fix this? Is there a way of changing debug so it shows where the error is coming from rather than the vendor and cache files?
Can anybody help me debug this?
Fatal error: Uncaught InvalidArgumentException: View [recipes] not found. in /app/public/wp-content/themes/THEME/vendor/illuminate/view/FileViewFinder.php:137 Stack trace: #0 /app/public/wp-content/themes/THEME/vendor/illuminate/view/FileViewFinder.php(79): Illuminate\View\FileViewFinder->findInPaths('recipes', Array) #1 /app/public/wp-content/themes/THEME/vendor/illuminate/view/Factory.php(128): Illuminate\View\FileViewFinder->find('recipes') #2 /app/public/wp-content/uploads/cache/585c2865540b67ac721e5345a50a0d8ece07c0da.php(13): Illuminate\View\Factory->make('recipes', Array) #3 /app/public/wp-content/themes/THEME/vendor/illuminate/view/Engines/PhpEngine.php(43): include('/app/public/wp-...') #4 /app/public/wp-content/themes/THEME/vendor/illuminate/view/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath('/app/public/wp-...', Array) #5 /app/public/wp-content/themes/THEME/vendor/illuminate/view/View.php(142): Illuminate\View\Engines\CompilerEngine->ge in /app/public/wp-content/themes/THEME/vendor/illuminate/view/FileViewFinder.php on line 137