Forums

Cannot open Chronoform5 Forms in back end under PHP 7.4

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 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.
You need to login to be able to post a reply.