Forums

Wordpress Chronoform Ver. 6.0.19 - Fatal Error

apsalv 04 Jul, 2018
Hi,

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];
 ///FRONT
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 05 Jul, 2018
Hi apsalv,

Please try removing the [] from that line - it doesn't look like valid PHP to me.

Bob
apsalv 10 Jul, 2018
Answer
Hi Grey, thanks.
I solved only upgrading PHP to version 5.6 (it were 5.3), and now install without warning.
This topic is locked and no more replies can be posted.