Error when activating anspress on file anspress-question-answer.php line 569

7.11K viewsUpdates
0

Hi,

I have just tried to activate the plugin but I am getting an error.

Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[’ in /srv/www/vhosts/dp/wp-content/plugins/anspress-question-answer/anspress-question-answer.php on line 569

Using
Wordpress 4.7.4
PHP Version 5.3.17

Answered question
0

Parse error: syntax error, unexpected ‘[‘ in /home/taxperts/public_html/wp-content/plugins/anspress-question-answer/anspress-question-answer.php on line 162

Answered question
0

Thanks Rahul.

It works fine now

1

Woha! you are using very old PHP version. Please ask your hosting provider to update your PHP to latest version.