Buy Now
Sign in

Wordpress Chronoform Ver. 6.0.19 - Fatal Error

apsalv 29
July 04 2018 #378803
I'm migrating my website from Joomla to Wordpress.
So I downloaded Chronoform 6.0.16 from your website and I installed it.
When I try to Activate it, I receive the following fatal error:
Parse error: syntax error, unexpected '[' in / ........ /wp-content/plugins/chronoforms6/chronoforms6.php on line 87
Line 87 is return [$first];
function empty_page($posts){
$first = new stdClass();
$first->post_content = '[Chronoforms6 chronoform="'.$_GET['chronoform'].'"]';

return [$first];
I'm using Wordpress 4.9.6–it
Help, please
GreyHead 63.5
July 05 2018 #378822
Hi apsalv,
Please try removing the [] from that line - it doesn't look like valid PHP to me.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
apsalv 29
July 10 2018 #378954
Hi Grey, thanks.
I solved only upgrading PHP to version 5.6 (it were 5.3), and now install without warning.