Contact Form Fatal Error
From Joomla! Documentation
Revision as of 09:27, 12 June 2014 by Tom Hutchison (talk | contribs) (Tom Hutchison moved page Contact Form Fatal Error to J2.5:Contact Form Fatal Error without leaving a redirect: maybe better here)
Revision as of 09:27, 12 June 2014 by Tom Hutchison (talk | contribs) (Tom Hutchison moved page Contact Form Fatal Error to J2.5:Contact Form Fatal Error without leaving a redirect: maybe better here)
The "J2.5" namespace is a namespace scheduled to be archived. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
There is a fatal error when sending the contact form.
Errors reported[edit]
Parse error: syntax error, unexpected 'return' (T_RETURN), expecting function (T_FUNCTION) in /.../components/com_contact/controllers/contact.php on line 172
Versions affected[edit]
What is the cause[edit]
A bug introduced.
How to fix[edit]
Update to the latest maintenance version, which is currently 2.5.28 for the 2.5 series.