Buy Now
Sign in

Wordpress Chronoform Ver. 6.0.19 - Fatal Error

apsalv , July 04 at 09:45
A
apsalv
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
Hi apsalv,
Please try removing the [] from that line - it doesn't look like valid PHP to me.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
A
apsalv
Hi Grey, thanks.
I solved only upgrading PHP to version 5.6 (it were 5.3), and now install without warning.