I have a simple comment submission form that works fine in my local dev environment but is failing when I upload to staging.
When submitting locally I get the standard
“Thank you, your comment has been submitted for approval/moderation, etc”.
However on staging I am taken to the standard ExpressionEngine error page with the following message:
An Error Was Encountered
Non-existent class: Template
« Back
Here is my form code
{exp:comment:form site="default_site" entry_id="99929"}
<div class="field textarea">
<textarea name="comment" cols="70" rows="10">{comment}</textarea>
</div>
<div class="actions">
<input type="submit" alt="Submit" value="" class="btn-submit no-default-btn-styles" data-role="none" />
</div>
{/exp:comment:form}I’m not really sure where to start looking. The error is being thrown in Loader.php line 944 (log_message(‘error’, “Non-existent class: “.$name);).
Maybe I am missing files or permissions are incorrect?
Thanks
ExpressionEngine 2.3.1