Actions

J2.5

Contact Form Fatal Error

From Joomla! Documentation

There is a fatal error when sending the contact form.

Contents

Errors reported

 Parse error: syntax error, unexpected 'return' (T_RETURN), expecting function (T_FUNCTION) in /.../components/com_contact/controllers/contact.php on line 172

Versions affected

Info non-talk.png
General Information

This pertains only to Joomla! version(s):- 2.5.21


What is the cause

A bug introduced.

How to fix

Update to the latest maintenance version, which is currently 2.5.22 for the 2.5 series.