I am using channel forms to publish articles and would like to use inline errors but when I have this enabled I get an error.
A PHP Error was encountered
Severity: Notice
Message: Undefined property: EE::$view
Filename: libraries/File_field.php
Line Number: 704
Fatal error: Call to a member function head_link() on a non-object in /web/nifootball2/system/expressionengine/libraries/File_field.php on line 704
My template code
{exp:channel:form channel="reports" return="clubhouse/fixtures" class="sky-form" rules:report_body="required|min_length[50]" error_handling="inline" }
<header>Publish Match Report</header>
<input type="hidden" name="report_match" value="{segment_3}" />
<input type="hidden" name="report_club" value="{club_name}">
<input type="hidden" name="report_club_url" value="{club_url_title}">
<fieldset>
<section>
<label class="label">Title</label>
{exp:teammanager:club_team_match match_id="{segment_3}" team_id="{segment_4}" }
<input type="hidden" name="title" id="title" value="{match_report_type} - {home_team_name} v {away_team_name} {match_date}" size="50" maxlength="100" >
<input type="hidden" name="url_title" id="url_title" value="{match_report_type}-{home_team_url}-v-{away_team_url}-{match_date}" maxlength="75" size="50">
{match_report_type} - {home_team_name} v {away_team_name} {match_date}
{/exp:teammanager:club_team_match}
</section>
</fieldset>
<fieldset>
<section>
<label class="label">Report Body</label>
{error:report_body}
{field:report_body}
</section>
</fieldset>
<fieldset>
<section>
<label class="label">Cover Image</label>
<p>Add a cover image for the Article to be displayed beside the Article snippet on the Reports lists and at the top of the full article.</p>
{field:report_image}
</section>
</fieldset>
<footer>
<button type="submit" class="btn-u">Submit</button>
</footer>
{/exp:channel:form}
<!-- End Publish Report Form-->