Author:
nickdunn
Version:
0.4.1
Released:
21 April 2011
Category:
Field Types

Closed#6: Causes Fatal Error (fetchFields) on Event form submission

Building a basic contact form which submits to a Symphony section. Upon hitting submit button redirected to a fatal error (despite the associated section not having an entry versions field):

Fatal error: Call to a member function fetchFields() on a non-object in /home/electro1/public_html/seddon/extensions/entry_versions/extension.driver.php on line 98

Form html is as below:

   <form class="enquiryForm" method="post" action="" enctype="multipart/form-data">
 <fieldset>
 <input name="MAX_FILE_SIZE" type="hidden" value="5242880" />
  <ul>
   <li><label for="enq-form-name">Name:</label></li>
   <li><input type="text" size="40" name="fields[name]" id="enq-form-name" /></li>
   <li><label for="enq-form-company">Company:</label></li>
   <li><input type="text" size="40" name="fields[company]" id="enq-form-company" /></li>
   <li><label for="enq-form-email">E-mail:</label></li>
   <li><input type="text" size="40" name="fields[email]" id="enq-form-email" /></li>
   <li><label for="enq-form-enquiry">Enquiry:</label></li>
   <li><textarea rows="5" cols="32" name="fields[enquiry]" id="enq-form-enquiry" /></li>
   <li><input type="submit" value="Submit" name="action[contact-submit]" /></li>
  </ul>
 </fieldset>
</form>

Whoops, my bad, forgot to check the thread and install the new version.

No worries :-)

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details