A
A
alexeyhead2017-05-14 19:29:58
Laravel
alexeyhead, 2017-05-14 19:29:58

How to solve the InvalidArgumentException error?

Hello everyone
The site developer has disappeared, but something needs to be done. By and large, the site works, but sometimes errors pop up.
When I try to edit an existing page from the admin panel, I get an error:
whoops, looks like something went wrong
and an error is recorded in the log:
exception 'InvalidArgumentException' with message 'View [structure.edit_contactspage] not found.' in /www/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:140
and beyond 48 tracepoints
Can you tell me what it is and in which direction to move?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
D3lphi, 2017-05-14
@alexeyhead

It says to you in black and white: View [structure.edit_contactspage] not found. What does it mean: The structure.edit_contactspage template file was not found. Go to the resources/view/structure directory and see what's there with the edit_contactspage.blade.php file. As follows from the description of the exception, it does not exist at all.

A
alexeyhead, 2017-05-14
@alexeyhead

D3lphi , as I understand it, this is not difficult, but you are right (+ I most likely did not fully explain the problem) - there is neither a resources/view/structure folder, nor an edit_contactspage.blade.php file
And here it is not clear what to do

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question