Cannot open Chronoform5 Forms in back end under PHP 7.4

Open ChronoForms v5 forms in the Joomla backend with PHP 7.4.

Overview

The issue is caused by outdated ChronoForms v5 code that is incompatible with PHP 7.4, resulting in a syntax error.
To resolve this, either downgrade your PHP version to 7.2 or lower, apply the specific code fix available on the forums, or upgrade to ChronoForms v7 and use its import tool, then verify the imported forms function correctly.

Answered
ChronoForms v5
wa wallyhowe 12 Oct, 2020
I have not needed to change any V5 forms for some time but today found every form I try to open fails:

An error has occurred.

0 syntax error, unexpected 'Fn' (T_FN), expecting identifier (T_STRING)

Return to Control Panel

This is occuring on every Joomla instance I have across 2 totally different sites.

Tried reinstalling on one site but same result

All sites are running Joomla! 3.9.22 and PHP 7.4

I changed down to PHP7.3 and the forms open correctly

Can you please investigate?

Wally
Max_admin Max_admin 15 Oct, 2020
Answer
Hi Wally,

Yes, v5 is very outdated and will not work on PHP 7.4, either keep your PHP at 7.2 or lower or apply a fix posted here on the forums:
https://www.chronoengine.com/forums/posts/t107999/syntax-error-unexpected-fn-t-fn-expecting-identifier-t-string

OR install v7 which has a v5 form importer in the forms manager, just make sure that your imported form is working as it should because few features will not be imported like fields events
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.