I have this line in the code which I think is causing a 500 error:
View::make('theme::emails.enquiry_form', ['data' => Input::all()])->render()
I am fairly familiar with View::make
, but I have not seen theme::emails.enquiry_form
before.
There is a dir structure which includes the template the line is referring to (src/public/themes/<site_name>/templates/emails/
).
I have had a look around but I can't find a reference to this - even knowing what this kind of reference is called would be a help.