Difference between revisions of "Contact Form Fatal Error"
From Joomla! Documentation
m (Tom Hutchison moved page Contact Form Fatal Error to J2.5:Contact Form Fatal Error without leaving a redirect: maybe better here)
Latest revision as of 08:27, 12 June 2014
There is a fatal error when sending the contact form.
Parse error: syntax error, unexpected 'return' (T_RETURN), expecting function (T_FUNCTION) in /.../components/com_contact/controllers/contact.php on line 172
What is the cause
A bug introduced.
How to fix
Update to the latest maintenance version, which is currently 2.5.28 for the 2.5 series.