Error when activating plugin

Solved5.51K viewsIssues
0

Hi,

I have just tried to activate the plugin but I am getting an error. Please see below:

Plugin could not be activated because it triggered a fatal error.

Parse error: syntax error, unexpected T_STRING in /home/PROTECTED/public_html/PROTECTED.com/wp-content/plugins/anspress-question-answer/includes/process-form.php on line 143

Please could you tell me how to fix this?

1

PHP namespace support is required by AnsPress, please ask your hosting provider to enable it.

This days almost every PHP script uses PHP namespace.

1

I had the same issue and found that I had to upgrade my PHP to 5.3.  This was clearly specified in the fine manual 😉